I normally wouldn't ask but I can't find the answer on SO or google.
I'm using a library that accepts base64 encoded pgp public keys in string format. However, one of the components I need to convert has a key in .asc format. How can I convert it back to binary-pgp or base64-gp.
Sorry if it's really dumb question, I'm new to the pgp toolsets.
Thanks a lot!
Shane
gpg --dearmor file.asc
and the de-armored output will be infile.asc.gpg
orgpg --dearmor < file.asc > file.gpg
which reads and writes from/to stdin. – Hearthstone