You are not logged in.

#1 2010-01-17 04:45:42

Gumper
Member
From: U.S.A.
Registered: 2009-10-26
Posts: 132

GPG passphrase timeout

I just created a gpg key and I'm using it to encrypt my Kmymoney file. When I open up kmymoney I have to enter my passphrase to open up the file. If I close the program and immediately open up the file once again in kmymoney, it does not ask me for the passphrase. After an undetermined amount of time I go back into kmymoney and open the file, this time it will ask me for the passphrase. So it appears that there must be a configuration somewhere to set the amount of time before I have to enter the passphase again.

Do anyone know where I might go about setting this timer or any other settings that might effect this? I'm using kde4.3.4 on Arch 64. I looked in KGpg but I don't see anything.


Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.

Offline

#2 2010-01-19 09:54:27

Gumper
Member
From: U.S.A.
Registered: 2009-10-26
Posts: 132

Re: GPG passphrase timeout

I figured this out. Apparently "gpg-agent" is running on my machine which caches entered passwords for the encrypted files. The default timeout for entered passwords with this is 10 minutes. A config file can be placed in ~/.gnupg called "gpg-agent.conf" where you can then adjust this time with the line "default-cache-ttl 60". In this example the timeout is set to 1min.


Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.

Offline

#3 2010-01-20 05:04:11

MercuryShadow
Member
From: Chciago 'burbs
Registered: 2010-01-04
Posts: 29

Re: GPG passphrase timeout

I was just about to ask you about gpg-agent, before I read your second post. Glad to see you got it figured out.

Offline

#4 2024-12-02 02:31:14

SodaCris
Member
Registered: 2020-09-19
Posts: 1

Re: GPG passphrase timeout

Gumper wrote:

I figured this out. Apparently "gpg-agent" is running on my machine which caches entered passwords for the encrypted files. The default timeout for entered passwords with this is 10 minutes. A config file can be placed in ~/.gnupg called "gpg-agent.conf" where you can then adjust this time with the line "default-cache-ttl 60". In this example the timeout is set to 1min.

That was great! it helps me solve my problem!

Offline

#5 2024-12-02 08:48:04

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: GPG passphrase timeout

So you registered to empty post and didn't even have the decency to wait 50 days to celebrate the 15-year aniversary of the thread?
Please don't necro-bump.

Also read up https://wiki.archlinux.org/title/Gpg-agent

Offline

#6 2024-12-02 10:55:12

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,480
Website

Re: GPG passphrase timeout

Closing, for the reasons noted.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB