diff options
author | Matthias Kalle Dalheimer <[email protected]> | 2002-03-01 16:55:50 +0000 |
---|---|---|
committer | Matthias Kalle Dalheimer <[email protected]> | 2002-03-01 16:55:50 +0000 |
commit | bf3eccd56409e48694a7d1a166af473a70c94cb9 (patch) | |
tree | ec80e8f682ef9dbdff47a7e486009fc9e6cd26a5 | |
parent | Support for checking whether the signer's email address is contained in (diff) | |
download | gpgme-bf3eccd56409e48694a7d1a166af473a70c94cb9.tar.gz gpgme-bf3eccd56409e48694a7d1a166af473a70c94cb9.zip |
Support for asking the for the PIN a certain number of times.
Diffstat (limited to '')
-rw-r--r-- | gpgmeplug/gpgmeplug.c | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c index 2cb067eb..fae689a4 100644 --- a/gpgmeplug/gpgmeplug.c +++ b/gpgmeplug/gpgmeplug.c @@ -354,6 +354,8 @@ bool isEmailInCertificate( const char* email, const char* certificate ) signing. Note that the parameter email can be anything that is allowed in a From: line. + Another note: OK, OK, we'll handle that in the MUA. You can + assume that you only get the email address. */ return false; // dummy } @@ -362,6 +364,12 @@ bool isEmailInCertificate( const char* email, const char* certificate ) void setNumPINRequests( PinRequests reqMode ) { config.numPINRequests = reqMode; + + /* PENDING(g10) Put this value into gpg and make it ask for the pin + according to this. Note that there is also + setNumPINRequestsInterval() which is only used if reqMode == + PinRequest_AfterMinutes. + */ } PinRequests numPINRequests() @@ -371,11 +379,15 @@ PinRequests numPINRequests() - - void setNumPINRequestsInterval( int interval ) { config.numPINRequestsInterval = interval; + + /* PENDING(g10) Put this value into gpg and make it ask for the pin + according to this. Note that this should only be used if + config.numPINRequests (set with setNumPINRequests()) has the + value PinRequest_AfterMinutes. + */ } int numPINRequestsInterval() @@ -385,10 +397,6 @@ int numPINRequestsInterval() - - - - void setCheckSignatureCertificatePathToRoot( bool flag ) { config.checkSignatureCertificatePathToRoot = flag; |