Function to test passphrase
Harakiri
harakiri_23 at yahoo.com
Tue Feb 21 21:28:09 CET 2006
Simple - try to sign a file - use status-fd and catch
a GOOD_PASSPHRASE or BAD_PASSPHRASE from the stdout
--- Will McDonald <will at cs.wisc.edu> wrote:
> Any ideas here? I'm just looking for some pointers
> out how to do simple
> passphrase verification of a key. Any direction is
> appreciated.
>
> Thanks,
> -will
>
> On Thu, Feb 02, 2006 at 12:58:24PM -0600, Will
> McDonald wrote:
> > Hello,
> > I'd like to write a little program that would
> simply test whether a given
> > passphrase is correct or not for a private key,
> then return true or false.
> > I've looked at the sources, but it wasn't
> immediately obvious to me what gnupg
> > functions to start with. Obiously there are a few
> steps to this (loading the
> > private key, testing the passphrase)...
> >
> > Can someone point me to which functions I should
> be looking at? Also, any
> > tips?
> >
> > Thanks,
> > -will
> --
> :wq
>
> _______________________________________________
> Gnupg-devel mailing list
> Gnupg-devel at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-devel
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Gnupg-devel
mailing list