GPG cache options don't work

Clash Royale CLAN TAG#URR8PPP
up vote
-1
down vote
favorite
There is an option named default-cache-ttl that controls how long the agent will remember the password to the private key. However, when I put it in the config file it doesn't work - instead, gpg complains:
gpg: /home/jan/.gnupg/gpg.conf:8: invalid option
My version of GPG is
$ gpg2 --version
gpg (GnuPG) 2.1.11
gpg gpg-agent
add a comment |Â
up vote
-1
down vote
favorite
There is an option named default-cache-ttl that controls how long the agent will remember the password to the private key. However, when I put it in the config file it doesn't work - instead, gpg complains:
gpg: /home/jan/.gnupg/gpg.conf:8: invalid option
My version of GPG is
$ gpg2 --version
gpg (GnuPG) 2.1.11
gpg gpg-agent
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
There is an option named default-cache-ttl that controls how long the agent will remember the password to the private key. However, when I put it in the config file it doesn't work - instead, gpg complains:
gpg: /home/jan/.gnupg/gpg.conf:8: invalid option
My version of GPG is
$ gpg2 --version
gpg (GnuPG) 2.1.11
gpg gpg-agent
There is an option named default-cache-ttl that controls how long the agent will remember the password to the private key. However, when I put it in the config file it doesn't work - instead, gpg complains:
gpg: /home/jan/.gnupg/gpg.conf:8: invalid option
My version of GPG is
$ gpg2 --version
gpg (GnuPG) 2.1.11
gpg gpg-agent
gpg gpg-agent
asked 25 mins ago
Jan Warchoà Â
351317
351317
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Wrong config file. This option concerns gpg-agent only, and (somewhat surprisingly) it has a separate configuration file - .gnupg/gpg-agent.conf. Put the option there and it works (configuration for GPG 2.1, earlier versions use different option names):
$ cat .gnupg/gpg-agent.conf
# remember the password longer (1 hour since last usage, 5 hours max)
default-cache-ttl 3600
max-cache-ttl 18000
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Wrong config file. This option concerns gpg-agent only, and (somewhat surprisingly) it has a separate configuration file - .gnupg/gpg-agent.conf. Put the option there and it works (configuration for GPG 2.1, earlier versions use different option names):
$ cat .gnupg/gpg-agent.conf
# remember the password longer (1 hour since last usage, 5 hours max)
default-cache-ttl 3600
max-cache-ttl 18000
add a comment |Â
up vote
0
down vote
Wrong config file. This option concerns gpg-agent only, and (somewhat surprisingly) it has a separate configuration file - .gnupg/gpg-agent.conf. Put the option there and it works (configuration for GPG 2.1, earlier versions use different option names):
$ cat .gnupg/gpg-agent.conf
# remember the password longer (1 hour since last usage, 5 hours max)
default-cache-ttl 3600
max-cache-ttl 18000
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Wrong config file. This option concerns gpg-agent only, and (somewhat surprisingly) it has a separate configuration file - .gnupg/gpg-agent.conf. Put the option there and it works (configuration for GPG 2.1, earlier versions use different option names):
$ cat .gnupg/gpg-agent.conf
# remember the password longer (1 hour since last usage, 5 hours max)
default-cache-ttl 3600
max-cache-ttl 18000
Wrong config file. This option concerns gpg-agent only, and (somewhat surprisingly) it has a separate configuration file - .gnupg/gpg-agent.conf. Put the option there and it works (configuration for GPG 2.1, earlier versions use different option names):
$ cat .gnupg/gpg-agent.conf
# remember the password longer (1 hour since last usage, 5 hours max)
default-cache-ttl 3600
max-cache-ttl 18000
answered 25 mins ago
Jan Warchoà Â
351317
351317
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474611%2fgpg-cache-options-dont-work%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password