Skip to content

Instantly share code, notes, and snippets.

@ailequal
ailequal / gpg-key-setup.md
Last active June 22, 2023 16:34
GPG key setup

linux-gpg preliminary setup

Install the gpg package: sudo apt install gpg.

macos-gpg preliminary setup

Install the following packages with brew: brew install gnupg pinentry-mac.

Then add the following configuration to the ~/.gnupg/gpg-agent.conf:

# macos with intel
echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf