Am 15.12.2014 um 22:25 schrieb Daniel Kahn Gillmor: > On 12/14/2014 05:45 PM, Ian Mann wrote: >> On 15/12/14 08:36, outa wrote: >>> I recently upgraded to Kubuntu 14.10. Since then gpg started to show that >>> warning message about Gnome Keyring hijacking it. So I disabled Gnome >>> Keyring and switched to gpg-agent again, like before. However, each time I >>> decrypt an email now, gpg asks for my passphrase (apprently not caching >>> it), and each time I want to sign an email, it asks for a passphrase twice. >>> Basically like described here: >>> http://comments.gmane.org/gmane.comp.mozilla.enigmail.general/19022 >>> >>> This is odd and a bit annoying. Using gpg directly on the command line to >>> sign a message results in only one passphrase prompt though. >>> >>> Has anyone experienced the same problem and could point me to a solution? >>> Thanks a lot. > >> I had to uncheck PGP/Mime under settings, Open PGP Security. > > > the PGP/MIME setting should have no bearing on gnupg prompting for a > password more than once. Unchecking PGP/Mime actually leads to only one passphrase prompt when signing an email. But decrypting an email still pops up a prompt every time (i.e. no caching).
> > outa, can you say what versions of software (gnupg, gpg-agent, and > enigmail) you're using? > > gpg --version > gpg-agent --version (Actually I use gpg2) $ gpg2 --version gpg (GnuPG) 2.0.24 libgcrypt 1.5.4 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: ~/.gnupg Unterstützte Verfahren: Öff. Schlüssel: RSA, ELG, DSA Verschlü.: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Komprimierung: nicht komprimiert, ZIP, ZLIB, BZIP2 $ gpg-agent --version gpg-agent (GnuPG) 2.0.24 libgcrypt 1.5.4 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. > > and the text from the top part of "About Enigmail" in thunderbird OpenPGP support provided by Enigmail Sie verwenden Enigmail Version 1.7.2 (20140829-0917) Benutze gpg Executable /usr/bin/gpg2 zur Ver- und Entschlüsselung > > also, can you show the output of: > > grep use-agent ~/.gnupg/gpg.conf $ grep use-agent ~/.gnupg/gpg.conf # For Ubuntu we now use-agent by default to support more automatic use-agent use-agent > cat ~/.gnupg/gpg-agent.conf $ cat .gnupg/gpg-agent.conf ###+++--- GPGConf ---+++### default-cache-ttl 300 max-cache-ttl 3000 ###+++--- GPGConf ---+++### Di 09 Sep 2014 14:01:56 CEST # GPGConf edited this configuration file. # It will disable options before this marked block, but it will # never change anything below these lines. > echo $GPG_AGENT_INFO $ echo $GPG_AGENT_INFO /run/user/1000/keyring-BUeGSx/gpg:0:1 FYI, I initially disabled GNOME Keyring by adding the following lines to a startup script: killall gpg-agent killall gnome-keyring-daemon gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info" . "${HOME}/.gpg-agent-info" export GPG_AGENT_INFO export SSH_AUTH_SOCK gnome-keyring-daemon --components=ssh,secrets,pkcs11 greets, Lutz
signature.asc
Description: OpenPGP digital signature
_______________________________________________ enigmail-users mailing list [email protected] To unsubscribe or make changes to your subscription click here: https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
