Can't decrypt PGP 8 msg

Eugene Smiley eugene@esmiley.net
Tue Aug 5 23:05:05 2003


This is a cryptographically signed message in MIME format.

--------------ms020202090108040909050705
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Williams wrote:
> Now here's a thing. Why does this email not show up as signed in
KMail 1.5?
>
> The public key is OMITTED from the display window and no attempt is
made to
> verify the sig. GnuPG command line complains of:
> $ gpg --verify Can\'t\ decrypt\ PGP\ 8\ msg.eml
> gpg: unexpected armor:-----BEGIN PGP PUBLIC KEY BLOCK-----\n
> gpg: verify signatures failed: unexpected data

Huh. I got a BAD signature and moved on, but now that you bring it up.
Enigmail gives me a similiar message to what you gave above, but
GPGShell gives me...

gpg: unexpected armor:[GNUPG:] UNEXPECTED 0
gpg: verify signatures failed: unexpected data

while PGP 8.0.2 gives me...
*** PGP SIGNATURE VERIFICATION ***
*** Status:   Bad Signature from Invalid Key
*** Alert:    Signature did not verify. Message has been altered.
*** Alert:    Please verify signer's key before trusting signature.
*** Signer:   Michael J. Schweppe <michael@schweppe.org> (0xF8E7B780)
*** Signed:   8/5/2003 1:37:25 PM
*** Verified: 8/5/2003 5:00:19 PM
*** BEGIN PGP VERIFIED MESSAGE ***

> so it's not KMail's problem. In the source, it looks like any other
inline
> signed email.
>
> All I get at the end of the text is:

I get that when I hit reply. Mozilla chops the body out... Weird.

> i.e. no public key block! Yet it is quite clearly in the source of the
> message.
>
> Presumably, there is some error in the text that causes GnuPG to
barph and
> then KMail gets confused. If I remove the public key block, it
verifies (as
> bad, expectedly) but I can send myself emails containing my own
public key
> block, signed inline and there are no problems.

OH! OH! OH! The KEYBLOCK is not escaped since it is inside the SIGN block.




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-nr2 (Windows XP)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/MBxx6QPtAqft/S8RAgIhAKDNQJEr059BlYpTicVxMOffirUzEACg4vYA
RnrWn+doZH43w/eF4h6NtoI=
=l2dp
-----END PGP SIGNATURE-----

--------------ms020202090108040909050705
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJzjCC
AzgwggKhoAMCAQICEGZFcrfMdPXPY3ZFhNAukQEwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNV
BAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG
A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2Vydmlj
ZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkG
CSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMDA4MzAwMDAw
MDBaFw0wNDA4MjcyMzU5NTlaMIGSMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBD
YXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUQ2Vy
dGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAyMDAw
LjguMzAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN4zMqZjxwklRT7SbngnZ4HF2ogZ
gpcO40QpimM1Km1wPPrcrvfudG8wvDOQf/k0caCjbZjxw0+iZdsN+kvx1t1hpfmFzVWaNRqd
knWoJ67Ycvm6AvbXsJHeHOmr4BgDqHxDQlBRh4M88Dm0m1SKE4f/s5udSWYALQmJ7JRr6aFp
AgMBAAGjTjBMMCkGA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