[Users] claws-mail does not remember password even though the "Remember with password manager" option is checked

lmfrm lmfrm at nanogroup.xyz
Thu Mar 10 01:04:55 CET 2022


Amazingly, I found the solution!

https://avaldes.co/2020/01/28/secret-service-keepassxc.html

This will get rid of the GPG password prompt so long as KeePassXC is
unlocked. Luckily gnupg is secret-tools compatible, so when prompted
and you choose 'remember password' it adds an entry into KeePassXC (if
Secret Service integration is enabled).

Thanks to everyone in the Claws mailing list who helped me understand
the mechanics of the issue.

On Wed, 9 Mar 2022 14:43:47 +0100
Christoph Klassen <christoph.klassen at intevation.de> wrote:

> Hello!
> 
> 
> Thank you for your detailed explanation.
> 
> On 3/9/22 14:23, lmfrm wrote:
> > It's clear to me now the password I'm being prompted for isn't the
> > account password. It's the PGP key password. I know this because the
> > prompt that arises follows the rules I set in
> > ~/.gnupg/gpg-agent.conf.
> 
> I will create an issue for gpg so that hopefully the prompt will soon 
> tell where it comes from. Else it could also be confusing for other
> people.
> 
> > So the question is, how does Claws know where to fetch the PGP keys?
> > You know, to decrypt and encrypt e-mails? Somewhere in the code it
> > must ask the system, "What is the default installed PGP keyring?"
> > and, "Please request the key associated with key ID ########."
> > Before gnupg can supply it, it prompts for the password with its
> > own window, or with 'pinentry-program' set to
> > '/usr/bin/pinentry-tty' it prompts for the password in the
> > terminal. The key ID is the short format, which you can derive with
> > 'gpg --list-secret-keys --keyid-format short'. The key IDs are
> > stored in ~/.claws-mail/accountrc setting
> > 'privacy_prefs=gpg=[blob],smime=[blob]' and are per account.
> 
> In the settings, when you go to "GPG" under Plugins you can decide
> how Claws Mail has to choose the private key. After a clean
> installation it uses the default key of gpg. But, you can also enter
> a specific email address or a key-ID.
> 
> Greetings,
> 
> Christoph
> 
> 



More information about the Users mailing list