Signing GitHub commits on Mac OS

Use homebrew to install the tools brew install gnupg pinentry-mac Configure gpg Start by creating configuration files for gpg and pinentry-mac. These files will be used to configure gpg and pinentry-mac to use the same keychain as your Mac OS keychain. mkdir ~/.gnupg touch ~/.gnupg/gpg-agent.conf touch ~/.gnupg/gpg.conf Add the following to ~/.gnupg/gpg-agent.conf: default-cache-ttl 34560000 max-cache-ttl 34560000 pinentry-program /opt/homebrew/bin/pinentry-mac The TTL values above are set to 400 days. You can set them to whatever you want, but you will be prompted for your passphrase based on your configured TTL values....

January 15, 2023 · 2 min · Me

GitHub Actions now with Manual Approvals

I’ve loved GitHub Actions since they were released, but the one piece I always felt was missing was some kind of gating or more control around deployments. Now we can add manual approval requirements to our workflows through GitHub’s new Environments configurations. Environments also support environment specific secrets in additional to repository-wide secrets. Create Environments To demo environments and approvals I’ve created a simple .net web app, along with two Azure Web Apps (dev and prod)....

January 6, 2021 · 6 min · Me

Setup GitHub verified commits for VSCode

Want to see that sweet :heavy_check_mark: Verified status on your GitHub commit history? This guide walks through how to setup and configure everything needed on a Windows system! Install GnuPG (GPG) I’m a big fan of leveraging Chocolatey for package management on Windows. It makes things really easy to find and install software, and keep things up to date. If you dont have Chocolatey already installed, head over to https://chocolatey.org/install and follow the instructions....

October 25, 2020 · 4 min · Me