題 使用GPG在Evolution中加密郵件


我的設置:

~/.gnupg $ gpg --edit-key 92432433
gpg (GnuPG) 1.4.9; Copyright (C) 2008 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Secret key is available.

pub  1024D/8----  created: 2010-01-02  expires: 2011-01-02  usage: SC  
                     trust: ultimate      validity: ultimate
sub  2048g/0-----  created: 2010-01-02  expires: 2011-01-02  usage: E   
[ultimate] (1). Hello <Testing>

我在Evolution中得到了這個:

Because "gpg: masi@gmail.com: skipped: public key not found
gpg: [stdin]: encryption failed: public key not found
", you may need to select different mail options.

運行以下操作無濟於事:

ps aux |grep gpg
# choosing the process id and killing gpg --daemon
kill <process_id>
eval `gpg --daemon`
# restarting Evolution and getting the same error with 
# Security settings without ticks at the four option boxes
# and havinsg my correct key-id in the box: I do remember my password

3
2018-01-18 19:25


起源


這與編程無關。移動它的人是不正確的。 - Broam


答案:


您是否嘗試向自己發送加密郵件?如果沒有,為自己生成密鑰是不夠的,您還需要導入收件人的公鑰。

在你的gpg轉儲中,它顯示“Hello”<Testing>作為您的主要身份。 gpg正在使用電子郵件字段來獲取收件人的密鑰,因此如果您在其中放入虛假值,則無法自動使用它。


4
2018-02-18 10:30





對於其他人:如果您正在使用Ubuntu,請檢查“密碼和加密密鑰”應用程序(我認為是海馬;默認安裝並顯示在“附件”菜單中)


0
2017-07-02 16:00