faster way of determing if the passphrase is correct or not

folkert at vanheusden.com folkert at vanheusden.com
Sun Apr 10 16:39:41 CEST 2005


Hi,

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: http://www.vanheusden.com/daihatsu.php
Op zoek naar een IT of Finance baan? Mail me voor de mogelijkheden!
+------------------------------------------------------------------+
|UNIX admin? Then give MultiTail (http://vanheusden.com/multitail/)|
|a try, it brings monitoring logfiles to a different level! See    |
|http://vanheusden.com/multitail/features.html for a feature list. |
+------------------------------------------= www.unixsoftware.nl =-+
Phone: +31-6-41278122, PGP-key: 1F28D8AE
Get your PGP/GPG key signed at www.biglumber.com!
-------------- 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