brew install gnupg brew install pinentry-mac
gpg --version gpg (GnuPG) 2.1.20 libgcrypt 1.7.6 Copyright (C) 2017 Free Software Foundation, Inc.
gpgconf --launch gpg-agent export GPG_TTY=$(tty) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
enable-ssh-support pinentry-program /usr/local/bin/pinentry-mac
sec rsa4096 2015-11-16 [SC] 02064FE662CC40719EE8B5D287773A4099242559 Keygrip = B5A9ABC2111E2BC82F4CC3F98EB83498B54C8A27 uid [ultimate] Stefan Magnus Landrø [email protected] uid [ultimate] Stefan Magnus Landrø [email protected] ssb rsa4096 2015-11-16 [E] Keygrip = 97709BC2DA4F62F886642B7CC0962C0C16C928BB ssb rsa4096 2017-03-29 [A] Keygrip = 0B070A3598334830226FE91B930ABA325624CFF1
Remember newline at end of file!
gpg --export-ssh-key 02064FE662CC40719EE8B5D287773A4099242559