Possibly PGP/MIME encrypted or signed message; click Decrypt button to verify
Michiel Dethmers <michiel-enigmailform <at> tincan.co.uk>
2006-11-04 02:35:23 GMT
Hi,
developing on Fedora Core 6, gpg (GnuPG) 1.4.5
Not sure whether to use the forums or the mailinglist, but the forums
seem to have a longer time to be "approved", so the mailinglist it is.
I'm trying to write PGP/Mime support into my app (www.phplist.com).
I got it as far as being validated by Evolution to have a valid
signature (to start with), but Enigma continues to ignore the signing.
Interestingly enough, if I set "automatically encrypt/verify", the
message displays as normal, as if it hadn't been sent as PGP/Mime, but
simply as some multipart mime message. (Tried attachments, inline etc),
so it's basically completely ignoring the multipart/signed bit of the
message.
If I don't set automatically verify message, I get the message as in the
subject. There is however no "Decrypt" button to be seen anywhere.
I played around with the dreaded line endings, and it seems at least
Evolution accepts things, as long as it's \r\n. The RFC does explicitly
state it needs to be \r\n, so that's it for line endings.
My hunch is, that it doesn't get validated on just the one extra \r\n,
one extra space or some silly thing like that. So the question is,
in the application/pgp-signature; bit, is there anything that needs to
be specific for enigmail to accept it. I've tried quite a few different
options in encoding, line endings, and whatever else, but I can't seem
to find it.
There's the extra line in http://www.ietf.org/rfc/rfc3156.txt that seems
weird,
content
-- empty line
- boundary
so it must be something like that.
Before diving into the enigma code, anyone able to shine a light on this?
Michiel