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....
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)....
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....