diff options
author | Daniel Mueller <deso@posteo.net> | 2019-05-26 22:11:36 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-05-27 08:32:06 -0700 |
commit | a57449dcd2abe1fa5dae195470fccc9a9a398e04 (patch) | |
tree | 673118362b069678539c501acf3dc521591cdff7 /nitrocli/doc/nitrocli.1 | |
parent | c01bbbf186cd88f9e1b3c3eda0459635bed209b4 (diff) | |
download | nitrocli-a57449dcd2abe1fa5dae195470fccc9a9a398e04.tar.gz nitrocli-a57449dcd2abe1fa5dae195470fccc9a9a398e04.tar.bz2 |
Allow for disabling of secret caching
So far we have cached secrets in gpg-agent(1) whenever that made sense
to do (i.e., for the two PINs in most contexts but not for passwords).
While there is reason to believe that such caching is desired by the
majority of users, not everybody has a use for it.
To give users an opportunity to opt out of such caching, this change
introduces a new environment variable, NITROCLI_NO_CACHE, that, when
present in the environment, instructs the program to bypass the cache
for all operations that require a secret and to instead inquire such
secrets each time they are needed.
Diffstat (limited to 'nitrocli/doc/nitrocli.1')
-rw-r--r-- | nitrocli/doc/nitrocli.1 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nitrocli/doc/nitrocli.1 b/nitrocli/doc/nitrocli.1 index 66d73f9..9029335 100644 --- a/nitrocli/doc/nitrocli.1 +++ b/nitrocli/doc/nitrocli.1 @@ -1,4 +1,4 @@ -.TH NITROCLI 1 2019-01-21 +.TH NITROCLI 1 2019-05-26 .SH NAME nitrocli \- access Nitrokey devices .SH SYNOPSIS @@ -279,6 +279,13 @@ for the \fBuser\fR type. .TP .B NITROCLI_PASSWORD A password used by commands that require one (e.g., \fBstorage hidden open\fR). +.TP +.B NITROCLI_NO_CACHE +If this variable is present in the environment, do not cache any inquired +secrets using \fBgpg\-agent\fR(1) but ask for them each time they are needed. +Note that this variable does not cause any cached secrets to be cleared. If a +secret is already in the cache it will be ignored, but left otherwise untouched. +Use the \fBpin clear\fR command to clear secrets from the cache. .SH EXAMPLES .SS Storage |