I have a GPG public key key.gpg in binary format. I would like to convert this to ASCII so that the resulting file has the header
-----BEGIN PGP PUBLIC KEY BLOCK-----
The process I am setting up to do this does not have access to the usual central key store, so I cannot import and then export.
What is the GnuPG (version 2) command to do this?
-----BEGIN PGP ARMORED FILE-----rather than the one I wanted. If the only difference is the header I suppose I could just change that manually... – rlandster Jan 10 '20 at 18:02