Backup

如何使用 Backup (deja-dup, duplicity) 修復此 gpg 錯誤?

  • December 5, 2019

每天執行計劃備份時,我都會看到以下錯誤:

Error processing remote manifest (duplicity-inc.20190724T191929Z.to.20190726T191408Z.manifest.gpg): GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
gpg: AES encrypted data
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key
===== End GnuPG log =====

我該如何解決這個問題?

剛想起來。很可能是 gpg 升級問題,請參閱 https://askubuntu.com/questions/1057627/duplicity-fails-with-bad-session-key-error

引用上述票證中的連結解決方法

” 問題是,就像連結的文章所述,gpg 2.1 從管道中為密鑰身份驗證停用密碼。需要啟用和配置 gpg 代理才能使恢復正常工作。

將以下內容添加到 ~/.gnupg/gpg.conf:

use-agent
pinentry-mode loopback

到你的 ~/.gnupg/gpg-agent.conf:

allow-loopback-pinentry

"

..ede / duply.net

引用自:https://unix.stackexchange.com/questions/532845