faster way of determing if the passphrase is correct or not

folkert at folkert at
Sun Apr 10 16:39:41 CEST 2005


For a program of mine I'd like to quickly verify if the entered passphrase
is correct. Currently I'm calling "gpgme_op_sign" and check its return-
value to see if the passphrase is correct or not (if it cannot sign, the
passphrase is incorrect). This seems to be a slow method: my 2.8GHz P4
can only do it 220 times a second. So I was wondering: is there a faster
method? Any api-call I don't know of? Or?

Folkert van Heusden

Auto te koop! Zie:
Op zoek naar een IT of Finance baan? Mail me voor de mogelijkheden!
|UNIX admin? Then give MultiTail (|
|a try, it brings monitoring logfiles to a different level! See    |
| for a feature list. |
+------------------------------------------= =-+
Phone: +31-6-41278122, PGP-key: 1F28D8AE
Get your PGP/GPG key signed at!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 282 bytes
Desc: not available
Url : /pipermail/attachments/20050410/993755bb/attachment.pgp

More information about the Gnupg-devel mailing list