Mailing List Archive

passphrase in memory, how ?
Hello all,
I am using mutt 1.0.pre3i and gpg 1.0.0.
could anyone please tell me, how to store passphrase in memory, so I do
not need to type it every time I send a signed email ?
I have disabled core files (ulimit -c 0) and in my .muttrc I have:

set pgp_timeout=43200

,but this doesn't work. Gpg still asks me to type passprase even if I
send an email and another one in one minute. I need to type passphrase
two times :(
Thank you for any tips
best regards
Michal Hajek
Re: passphrase in memory, how ? [ In reply to ]
On Sat, 11 Mar 2000, Michal Hajek wrote:

Hi!

> I am using mutt 1.0.pre3i and gpg 1.0.0.

I'm using Mutt 1.0i and GnuPG 1.0.1.

> I have disabled core files (ulimit -c 0) and in my .muttrc I have:
>
> set pgp_timeout=43200

I have

| set pgp_timeout=3600

in my .Muttrc and it works fine for me. Have you set the pgp_gpg and the
pgp_default_version enviroments? What are your other PGP/GnuPG related
options in the .Muttrc?

Cheers,
Thomas
--
.-. Thomas Bader · thomasb@trash.net.remove · http://www.t-bader.ch/ .-.
oo| oo|
/`'\ Einen Unix-Shellaccount gibt es unter http://www.trash.net/ /`'\
(\_;/) PGP Key-ID: 0x3A4B7F5D (RSA) 0x7584F5D8 (DSA/EG) (\_;/)
Re: passphrase in memory, how ? [ In reply to ]
Hello, thank you for promt reply, :)
My problem is little bit weird, since, I have tried
set pgp_timeout= something
where something was about 3600 (not quite sure about the exact value)

but, as far as I know the number means how meny seconds the passphrase
will be stored in memory. 3600 means that I do not need to write again
my passphrase for 1 hour. ok ?
I would like to have passphrase in memory for consederable longer time,
say a day or even without any limit.
That is why I tried
set pgp_timeout=43200, which is 12 hours.

So where is the problem ?
The problem arised after I tried this bigger value.
After I restarted mutt, I have to type passphrase every time, doesn't
matter when I wrote last email.
My pgp section in .muttrc is:
#### PGP stuff
set pgp_autosign
set pgp_default_version=gpg
set pgp_replyencrypt
set nopgp_replysign
set pgp_sign_micalg="pgp-md5"
set pgp_timeout=43200
set pgp_verify_sig=yes


Best regards
Michal Hajek
Re: passphrase in memory, how ? [ In reply to ]
On Sat, Mar 11, 2000 at 01:47:35PM +0100, Michal Hajek wrote:

>but, as far as I know the number means how meny seconds the passphrase
>will be stored in memory. 3600 means that I do not need to write again
>my passphrase for 1 hour. ok ?
>I would like to have passphrase in memory for consederable longer time,
>say a day or even without any limit.
>That is why I tried
>set pgp_timeout=43200, which is 12 hours.
>
>So where is the problem ?
>The problem arised after I tried this bigger value.
>After I restarted mutt, I have to type passphrase every time, doesn't
>matter when I wrote last email.

That sounds as if the timeout value is being stored in a signed
16-bit value... try 32767 and see if that works. If it does, and
32768 doesn't, the problem is identified... :-)

Roger

--
Roger Burton West -/- roger@firedrake.org
http://www.firedrake.org/roger/ -/- ICQ UIN 48964316, occasionally
"Hush, child, go to sleep - it's only the sound of a gun."