I'm new on PGP and I'm trying to see how It works:

I can encrypt and decrypt files with my keys pair, but If I download an .asc file from thunderbird with enigmail I don't be able to decrypt it. I explain better

I send to my self an email with my (only) public key. Via thunderbird all works, it decrypt automatically the message. There is an .asc attach, too and If I download it and I type gpg file_name.asc nothing happen. enter image description here

Why? where I wrong?


I made a mistake! The attached file on my email is the public key. I checked the box to do it

  • It will write the result to an output file or write a error message. 'Nothing' is not an expected result. It is probably a good idea to specify the file name you expect with --output
    – eckes
    Jun 2 '17 at 8:03
  • with --output I get nothing again. I edit my message with a snapshot of my terminal
    – linofex
    Jun 2 '17 at 8:09
  • But, Could that attach be the public key? Not the message?
    – linofex
    Jun 2 '17 at 8:15
  • 1
    Ok that Screenshot shows not 'nothing' it shows a key listing. So yes your Asc file is the key. This also explains the file name.
    – eckes
    Jun 2 '17 at 8:19
  • 1
    Yes, sorry, I didn't thought it!
    – linofex
    Jun 2 '17 at 8:20

You show the output of a key file. Also the name looks like a key ID. So you did not save the encrypted body but a key attachment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.