Hello,

When I send signed mails to me (just for test) the received mail is
verified fine in mutt, i.e. it says in mutt:

[-- Begin signature information --]
Good signature from: Matthias Apitz (GnuPG CCID) <g...@unixarea.de>
            created: Wed May 31 21:40:19 2017
[-- End signature information --]

[-- The following data is signed --]

hello


[-- End of signed data --]

but when I save the signature part into a file 'signature.asc' and the
ASCII content of the mail as a file 'data' from the menu in mutt:

q:Exit  s:Save  |:Pipe  p:Print  ?:Help
  I     1 <no description>                                          
[text/plain, 7bit, utf-8, 0.1K]
  I     2 signature.asc                                            
[applica/pgp-signat, 7bit, 0.8K]

and run:

$ gpg2 --verify signature.asc data
gpg: Signature made Wed May 31 21:40:19 2017 CEST
gpg:                using RSA key 5E69FBAC1618562CB3CBFBC147CCF7E476FE9D11
gpg: BAD signature from "Matthias Apitz (GnuPG CCID) <g...@unixarea.de>" 
[ultimate]

Why the file 'data' has BAD signature? The file 'data' after saving from
mutt from the above menu just contains:

$ cat data
hello

$ od -c data
0000000    h   e   l   l   o  \n  \n
0000007

What I do wrong?

        matthias

Attachment: signature.asc
Description: PGP signature

Reply via email to