Export public key string with ASCII-armor gpg --armor --export username@email
gpg --armor --export username@email
gpg --output private.pgp --armor --export-secret-key username@email
https://www.gnupg.org/gph/en/manual/x56.html The GNU Privacy Handbook