大家好,
我刚刚用软件更新器升级到Ubuntu15.10。重新启动后,我意识到Enigmail (版本1.2.8)。在雷鸟(38.3.0版)停止工作。我无法签署或加密邮件。
当Enigmail使用gpg (GnuPG) 1.4.18时,以下错误窗口将在按下“发送”按钮后立即显示:
Send operation aborted.
Error - bad passphrase我甚至连对话框都没有输入密码。为了进行测试,我安装了gpg (GnuPG) 2.0.28,重新安装了Enigmail,并将其配置为使用gpg2。在调整“首选项->基本设置”中的设置时,出现以下错误:
Cannot connect to gpg-agent.
Maybe your system uses a specialized tool for passphrase handling
(e.g. gnome-keyring, seahorse-agent, KDE wallet manager, ...).
Unfortunately Enigmail cannot control the passphrase timeout for the tool you are using.
Therefore the respective timeout settings in Enigmail are disregarded.当试图使用gpg2发送签名或加密邮件时,我会收到另一条错误消息:
Send operation aborted.
Key 0xXXXXXXXX not found or not valid.
The (sub-)key might have expired这根本不是事实。钥匙已经存在,而且它们还没有过期。奇怪的是,Enigmail密钥管理器确实正确地显示了密钥。
根本的问题似乎在于gpg-agent (gpg-agent (GnuPG) 2.0.28)。检查代理是否正在运行:
> ps ax | grep gpg
6971 ? Ss 0:00 gpg-agent --daemon试图连接:
> gpg-agent
gpg-agent: can't connect to the agent: IPC connect call failed
> sudo gpg-agent
gpg-agent: no gpg-agent running in this session试图签署一个文件:
> gpg -s test.txt
[user and key info]
can't connect to `/tmp/gpg-GBtHXS/S.gpg-agent': No such file or directory
gpg: can't connect to `/tmp/gpg-GBtHXS/S.gpg-agent': connect failedTL;DR;
显然gpg特工已经不工作了。我的问题是:
感谢大家的时间和洞察力。
软件版本摘要:
发布于 2015-10-30 14:00:45
我也遇到了类似的问题,并通过安装pinentry-gnome3 (我使用的是gnome3,而不是)解决了这个问题:
sudo apt-get install pinentry-gnome3发布于 2015-10-27 14:52:55
我让它恢复了部分功能。对任何感兴趣的人来说,这就是我所做的。
加密现在和以前一样有效。但是,使用上述错误消息(键无效.),消息的签名仍然失败。
GPG代理现在按照命令行的预期工作。Enigmail仍然没有提示我输入密码,并且仍然报告一个丢失或无效的密钥。
编辑:更改答案,因为这是不成熟的
发布于 2015-12-12 05:30:18
通过增加
use-agent转到.gnupg/gpg.conf
安装后,默认情况下gpg-代理没有运行。
https://askubuntu.com/questions/690548
复制相似问题