I'm signing some files without compression, but gpg is then
having problems verifying its own output. I've hand parsed
gpg's output using rfc 2440, and it looks fine. The output
is a one pass signature packet, followed by a literal data
packet (with binary data), followed by a signature packet.
Here's how to repeat the problem:
% gpg --version
gpg (GnuPG) 1.0.0
...
% gpg -s -z 0 testfile
...
% gpg --verify testfile.gpg
gpg: no valid OpenPGP data found.
gpg: verify signatures failed: eof
% gpg --list-packets testfile.gpg
gpg: no valid OpenPGP data found.
gpg: processing message failed: eof
Let me know if you need more data, want me to try on a
newer version of gpg, or if I'm just misunderstanding some
of gpg's command line options.
Thanks,
- Dave
having problems verifying its own output. I've hand parsed
gpg's output using rfc 2440, and it looks fine. The output
is a one pass signature packet, followed by a literal data
packet (with binary data), followed by a signature packet.
Here's how to repeat the problem:
% gpg --version
gpg (GnuPG) 1.0.0
...
% gpg -s -z 0 testfile
...
% gpg --verify testfile.gpg
gpg: no valid OpenPGP data found.
gpg: verify signatures failed: eof
% gpg --list-packets testfile.gpg
gpg: no valid OpenPGP data found.
gpg: processing message failed: eof
Let me know if you need more data, want me to try on a
newer version of gpg, or if I'm just misunderstanding some
of gpg's command line options.
Thanks,
- Dave