1

I am completely new to the encryption/decryption area and I searched a lot before asking this question (although a very basic one).

We have a user who sent his public key certificate in .pub format. We need to convert it into .asc to be able to import via Kleopatra into our system so that we can encrypt files and send it to him. I have tried to use multiple commands that I found online but none of them seem to work.

Is there a way to do this?

P.S: We use Windows as our environment.

Vibhav MS
  • 143
  • 1
  • 6
  • 18
  • `.asc` is *probably* an ASCII-armored PGP key. If the .pub is not ASCII armored, import it with `gpg` and re-export it as ASCII armored. – vcsjones Sep 12 '16 at 15:44
  • I tried using the command "gpg --import " and it says "gpg: no valid OpenPGP data found." I googled and this was the only command to import certificates. Is there anything that I am missing? – Vibhav MS Sep 12 '16 at 16:02
  • If `gpg --import` prints this error message, you try to import something that is not an OpenPGP key. `gpg --import` allows to import both binary and ASCII-armored key information. – Jens Erat Sep 13 '16 at 11:40

0 Answers0