automatically forget passphrase?

automatically forget passphrase?

Post by Gabriel Za » Thu, 30 Sep 2004 22:52:32


My question in a nutshell:
Can I make mutt automatically forget the PGP passphrase if I entered a
wrong one?

In more detail:
Recently I configured mutt to sign all outgoing mail with GPG.
So for the first mail I have to enter the GPG passphrase.
Now sometimes I make a typo, so mutt saves a passphrase that is rejected by
gpg. However, I always have to make mutt explicitely "forget" the
passphrase (by ^F), before I can enter a new (correct) one.
So I would like mutt to not store the passphrase at all, if it was rejected
by gpg.

Any ideas?

Cheers,
Gab.

--
/-------------------------------------------------------------------------\
| Sigh no more, ladies, sigh no more, \ Men were deceivers ever; |
| One foot in sea and one on shore; \ To one thing constant never. |
| Then sigh not so, \ But let them go, |
| And be you blithe and bonny; \ Converting all your sounds of woe |
| Into Hey nonny, nonny. (Shakespeare, Much Ado About Nothing) |
| XXXX@XXXXX.COM __@/' www.gabrielzachmann.org |
\-------------------------------------------------------------------------/
 
 
 

automatically forget passphrase?

Post by Dietrich S » Fri, 01 Oct 2004 03:04:57


For .muttrc: set pgp_timeout=300 # in seconds


Servus,
Dietrich

 
 
 

automatically forget passphrase?

Post by Gabriel Za » Sat, 02 Oct 2004 16:30:24

> For .muttrc: set pgp_timeout=300 # in seconds

thanks for your response.

But I want mutt to forget the passphrase *only* if I typed it wrong.
(I don't want to retype the passphrase every 5 minutes ;-) I would have to
type it 30 times a day! )

Cheers,
Gab.

--
/-------------------------------------------------------------------------\
| Sigh no more, ladies, sigh no more, \ Men were deceivers ever; |
| One foot in sea and one on shore; \ To one thing constant never. |
| Then sigh not so, \ But let them go, |
| And be you blithe and bonny; \ Converting all your sounds of woe |
| Into Hey nonny, nonny. (Shakespeare, Much Ado About Nothing) |
| XXXX@XXXXX.COM __@/' www.gabrielzachmann.org |
\-------------------------------------------------------------------------/
 
 
 

automatically forget passphrase?

Post by Sven Gucke » Sat, 02 Oct 2004 22:21:03

* Gabriel Zachmann < XXXX@XXXXX.COM > [2004-10-01]:

| |
| '
| .---'
v v

^F forget-passphrase wipe passphrase(s) from memory

hint hint

sure - it's not exactly what you had desired
but it is still a workaround which works.
patches exist - but searching for them is a
PITA because there is no good repository.

Sven
 
 
 

automatically forget passphrase?

Post by Gabriel Za » Sun, 03 Oct 2004 05:40:18

> ^F forget-passphrase wipe passphrase(s) from memory

thanks for the response.
i guess i should have mentionde that i already knew about that one.

Cheers,
Gab.

--
/-------------------------------------------------------------------------\
| Sigh no more, ladies, sigh no more, \ Men were deceivers ever; |
| One foot in sea and one on shore; \ To one thing constant never. |
| Then sigh not so, \ But let them go, |
| And be you blithe and bonny; \ Converting all your sounds of woe |
| Into Hey nonny, nonny. (Shakespeare, Much Ado About Nothing) |
| XXXX@XXXXX.COM __@/' www.gabrielzachmann.org |
\-------------------------------------------------------------------------/