OpenSSL, OS X "El Capitan" and Brew

OpenSSL, OS X "El Capitan" and Brew

Apple removed the OpenSSL header files in "El Capitan", making it hard to build OpenSSL-dependent libraries without modifying your system a little bit. Fortunately we have Homebrew; if you don't have it yet, go ahead and install it now. I'll wait here. Ready? Now, repeat after me: $ brew doctor (now …

An Illustrated Guide to SSH Tunnels

An Illustrated Guide to SSH Tunnels

SSH tunnels can provide secure connections through insecure or untrusted networks and may also be used to securely route through firewalls. About This Guide This guide began as a personal document to help me learn and remember how SSH tunnels work and has been several years incubating. If you find …

Create Disk Image from Folder in OS X

This will create a new disk image notes.dmg that when mounted will be named notes (from -volname). The image will hold up to 10 MB and once created will be populated from the existing ~/notes folder. The -format UDRW makes the image read-write. Omit -format to make a read-only …

Use git-crypt to Store Secrets in Git

Use git-crypt to Store Secrets in Git

git-crypt (github) keeps your secrets safe in a git repository. It decrypts on checkout and encrypts at commit using standard git hooks. Once configured, it is completely transparent. I had a situation where the secrets were already in the repo and I needed to encrypt them (if you're in this …