如何使用Seahorse永久緩存pgp密碼(14.04)


12

我試圖讓 seahorse-daemon (以前為seahorse-agent)永久緩存 密碼。

我已經使用 dconf-editor 將" gpg-cache-method"設置為始終,但是該設置被忽略,每次使用該密鑰時,seahorse都會提示輸入密碼短語。

有趣的是,我有六台機器都在運行14.04並具有最新更新,我不知道為什麼其中有些機器會永久緩存密碼短語,而另一些卻沒有。

謝謝您的任何想法。

0

To permanently save the a passphrase in the keyring, use seahorse-ssh-askpass from package seahorse:

/usr/lib/seahorse/seahorse-ssh-askpass my_key

Note: You have to have a have the corresponding .pub file in the same directory as the private key (~/.ssh/id_rsa.pub in the example). Also, make sure that the public key is the file name of the private key plus .pub (for example, my_key.pub).