Posts

Add multiple GPG keys to different users and add passphrase to keychain

Image
 https://markentier.tech/posts/2021/02/github-with-multiple-profiles-gpg-ssh-keys/ Follow this tutorial to configure ~/.ssh/config, ~/.gitconfig, create the ssh keys and gpg keys. https://unixb0y.de/blog/articles/2019-01/gpg-password-macos-keychain to save the gpg passphrase to the keychain. Maybe add # gpg export GPG_TTY=$(tty) to `.zprofile` or `.zshrc`. Maybe for reference: https://medium.com/uncaught-exception/setting-up-multiple-gitlab-accounts-82b70e88c437