On Wed, 27 Nov 2002 12:44:13 +0100 Xavier Nodet <[EMAIL PROTECTED]> wrote:

XN> To verify signatures, I have to copy the text of the message, so that
XN> GnuPG can act on the clipboard (with the help of WinPT) to verify it.
XN> This is where the problem lies: the mail I had received had tabs chars
XN> in its body, which were converted by the default viewer to a bunch of
XN> spaces, while the text only viewer does not translate them.

 This is not the only problem...

XN> Of course, trying to verify the message copied from the default viewer
XN> is bound to fail, as the message is changed...

... as you rightly say.

 I think I should realyl bite the bullet and implement myself a quick and
dirty way to check the message signatures and maybe decrypt them as I risk
to have need of this feature myself.

 Checkign signatures is especially trivial: basicly we just need to call
"gpg --verify" and give it the raw message text on stdin and parse its
output. The questions I have:

a) What to do if you don't have the senders public key already? Ideally
   M should also allow importing it conveniently, but how?

b) How to parse the output? I see that gpg gives "BAD signature" in its
   output but what about "real" PGP? Is there any consistent message to
   search for?

 Thanks,
VZ



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to