[I'm CCing this to HJ to see if he can send me the other patches he
mentioned]
I <[EMAIL PROTECTED]> wrote:
[I read via IMAP from multiple machines, so no fetchmail/procmail combo works]
> The rest of the office is using Outlook with PGP
> support, but that sends old-style PGP bodies and sets the
> Content-type: header to "text/plain". That's broken, but it's what I have
> to work with. I've written some Vim macros to encrypt in their broken
> style. I'm now trying to have their signatures verified automatically, so
> I don't need to hit "|pgpv" to verify.
>
> At the moment I'm giving HJ Lu's PGP kludge patches a try.
Hmm. HJL's patches work fine for decryption, but they don't verify
signatures. In a later message, H.J. wrote:
: > But it doesn't differentiate between encrypted and plaintext signed.
: > This means that encrypted mail is displayed correct, but plaintext
: > signed messages are displayed without the pgp output (whether the
: > signature is valid).
: I don't have any plaintext signed emails. What do they look like? I
: have a patch can handle the plaintext signed emails like
:
: -----BEGIN PGP SIGNED MESSAGE-----
: AAAAAAAAAA
: BBBBBBBBBB
: -----BEGIN PGP SIGNATURE-----
: .....
: -----END PGP SIGNATURE-----
:
: Is that is right format? Should I skip a blank line above
:
: -----BEGIN PGP SIGNATURE-----
If you have a patch, I'd love to see it. The decryption patch works
marvelously.
I think you should skip a blank line above "-----BEGIN PGP SIGNED MESSAGE-----"
and a blank line below "-----BEGIN PGP SIGNATURE-----". For instance, a one
line file containing "hi" (with no blank lines) would come out as:
-----BEGIN PGP SIGNED MESSAGE-----
hi
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv
iQEVAwUBN96ghWojqVSuKjpNAQG2zgf/QdhlcT/++pWSxQwcYqSrGGMdWcQpKMP/
zxXz6IWoUVVY4iNxSNrNJ5jX/63xOlDBL5KbKyWFdyo/s+bgERs4/aTf2q2KjBcT
OU+qPFKNQpeXcBCeIla3SfjnLwweirkxugsQ5FyO6oYmUF0W+o1NMzi0qr7+6OIM
8wDtjykp4zLEjZKRCBnP0xOOIhJtVez+eOP/pnM55RCOobDQ7uu0xGWjl36eFTf7
+uXaKx7l2K4ixnx/e54GoohJZ7eSoy+ilrS4yoRG0vvHiYWnWQzliSnSg0r5o/2v
VxrPA72wnvgAvrtXGJ231B9gOT7KFC+4poUNlVjLG/w/8yn1aDPqgg==
=SuAY
-----END PGP SIGNATURE-----
That is a valid signature, signed by me ([EMAIL PROTECTED], key ID
0xAE2A3A4D in the key servers).
If you don't have the time but could send me what you've got, I can try to
fix it up to skip the blank lines.
Thanks a lot for this and for all your libc work!
Sumner
--
rage, rage against the dying of the light