04 Jun 2015

Exporting public key in GPG: “invalid characters” when loading in text editor (UTF-8)

GPG defaults to exporting to a binary format, the –armor command line argument can to be used for exporting to ASCII format for easy sharing using copy & paste.

~$ gpg --output my-public-key.gpg --armor --export one@email.com