First, many thanks to all who replied to my previous questions about
using GnuPG and antivirus with TB.  Your help is much appreciated.

Using GnuPG 1.2.2 Windows 2000 SP2

Trying to verify the signature on a signed+encrypted message I
receive.  TB responds with the following error in a window:

"gpg: verify signatures failed: unexpected data"

I admit this is exactly what happens when I try to verify this with
GPG.EXE on the command line.  However, this kind of verification works
perfectly with Eudora.

(I am not looking for trouble or advertizing Eudora, in fact I don't
even like it that much which is why I'm considering TB.  I am just
reporting the facts as I see them).

This leads me to believe that there is a way to verify signatures
properly with GnuPG.

In fact I have recently implemented something like this in an
application I was working on at work, in the following way:

1. Capture the output of gpg --list-packets (passing encrypted contents)
2. Isolate the signature string.
3. Capture the output of gpg --list-keys --with-colons.
4. Find the signature string from step 2 above in the captured string
in 3 above.
5. If found, capture the user/email string that follows in the capture
from 3 above, display it to the user.

Seems to me something like this should be fairly easy to implement in
TB.  It would be easy for me to write an external program to do just
that, as long as I can A) call it from within TB and B) pass data to
it.

So my questions are:

1. Does TB have such capabilities with external programs?
2. Are you able to verify signatures in TB? N.B. using GnuPG, not the
internal OpenPGP engine.
3. When decrypting, TB prompts me for the id - somehow it doesn't want
to assume that the recipient (on the TO: line for a received message)
should be the UID to look for in the keys in the keyring.  Doesn't
seem to be consistent with the "smart matching" it performs for
encryption of an outgoing message.  Doesn't make sense to me.  Is this
the behavior you are all getting as well?

Many thanks and best regards to all.


________________________________________________
Current version is 1.62r | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to