I would like a script to verify that I've signed a document.  Verifying
a signature is easy with gnupg, but I can't find a switch that requires 
the signature be that of a particular public key.

As it is, a document signed by someone else (whose public key I have)
would slip through my script if I just use the exit code.  My best
solution so far is to detect the identity printed out by gpg on stderr
--- but this seems a fragile solution.

I'd like to be able to say:
  $ gpg --verify-specific-user [EMAIL PROTECTED] 
          --verify signedoc.gpg

Does this functionality exist? Did I miss something in the docs? Is
there a workaround?

TIA
-- 
Keith Hellman                             #include <disclaimer.h>
[EMAIL PROTECTED]                from disclaimer import standard
[EMAIL PROTECTED]
                                   -*-                                    
                    public key @ pgp.mit.edu B5354B76                     
    Y!M: mcprogramming                           AIM/ICQ: 485403897       
                     gtalk: [EMAIL PROTECTED]                      
                                   -*-                                    

"In any project that is multi-threaded, most bugs will come from threading
issues.  This is regardless of programming language -- it's a deep, as yet
ununderstood property of threads."

-- Guido van Rossum

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to