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
Turns out it's really simple:
gpg --dearmor file.asc
Source: https://lists.gnupg.org/pipermail/gnupg-devel/2011-October/026253.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With