El día Wednesday, May 31, 2017 a las 09:58:18PM +0200, Matthias Apitz escribió:
> 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? I figured out how the netto data is passed to the gpg2 for --verify: $ od -c data.asc 0000000 C o n t e n t - T y p e : t e 0000020 x t / p l a i n ; c h a r s e 0000040 t = u t f - 8 \r \n C o n t e n t 0000060 - D i s p o s i t i o n : i n 0000100 l i n e \r \n \r \n h e l l o \r \n \r 0000120 \n 0000121 and then it is fine: $ gpg2 --verify signature.asc data.asc gpg: Signature made Wed May 31 21:40:19 2017 CEST gpg: using RSA key 5E69FBAC1618562CB3CBFBC147CCF7E476FE9D11 gpg: Good signature from "Matthias Apitz (GnuPG CCID) <g...@unixarea.de>" [ultimate] -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub 8. Mai 1945: Wer nicht feiert hat den Krieg verloren. 8 de mayo de 1945: Quien no festeja perdió la Guerra. May 8, 1945: Who does not celebrate lost the War.
signature.asc
Description: PGP signature