mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-24 22:09:57 +01:00
Document CLEAR_PASSPHRASE.
And describe the --mode=normal option.
This commit is contained in:
parent
17499e761e
commit
26b59d78c4
@ -804,6 +804,7 @@ secret keys.
|
||||
* Agent EXPORT:: Exporting a Secret Key
|
||||
* Agent ISTRUSTED:: Importing a Root Certificate
|
||||
* Agent GET_PASSPHRASE:: Ask for a passphrase
|
||||
* Agent CLEAR_PASSPHRASE:: Expire a cached passphrase
|
||||
* Agent GET_CONFIRMATION:: Ask for confirmation
|
||||
* Agent HAVEKEY:: Check whether a key is available
|
||||
* Agent LEARN:: Register a smartcard
|
||||
@ -1173,6 +1174,28 @@ may be used to invalidate the cache entry for a passphrase. The
|
||||
function returns with OK even when there is no cached passphrase.
|
||||
|
||||
|
||||
|
||||
@node Agent CLEAR_PASSPHRASE
|
||||
@subsection Remove a cached passphrase
|
||||
|
||||
Use this command to remove a cached passphrase.
|
||||
|
||||
@example
|
||||
@ifset gpgtwoone
|
||||
CLEAR_PASSPHRASE [--mode=normal] <cache_id>
|
||||
@end ifset
|
||||
@ifclear gpgtwoone
|
||||
CLEAR_PASSPHRASE <cache_id>
|
||||
@end ifclear
|
||||
@end example
|
||||
|
||||
@ifset gpgtwoone
|
||||
The @option{--mode=normal} option can be used to clear a @var{cache_id} that
|
||||
was set by gpg-agent.
|
||||
@end ifset
|
||||
|
||||
|
||||
|
||||
@node Agent GET_CONFIRMATION
|
||||
@subsection Ask for confirmation
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user