I am attempting to restore some files to an OpenSUSE 12.3 machine that was backed up with deja-dup (duplicity). When prompted for the password to decrypt the backup, I enter the correct password and I am prompted repeatedly with no progress.

The error given in /var/log/messages is:

The gnome keyring socket is not owned with the same credentials as the 
    user login: <username removed>
gkr-pam: couldn't unlock the login keyring

In deja-dup's debugging log I have:

DUPLICITY: . GPGError: GPG Failed, see log below:
DUPLICITY: . ===== Begin GnuPG log =====
DUPLICITY: . gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
DUPLICITY: . gpg: CAST5 encrypted data
DUPLICITY: . gpg: encrypted with 1 passphrase
DUPLICITY: . gpg: decryption failed: Bad session key
DUPLICITY: . gpg: block_filter 0x7f969a828e60: read error (size=15648,a->size=15648)
DUPLICITY: . gpg: block_filter: pending bytes!
DUPLICITY: . ===== End GnuPG log =====
  • can you use duplicity directly or try to decrypt the files yourself via gpg? – Ulrich Dangel May 23 '13 at 23:50
  • no. duplicity won't work. It appears to be a gpg issue. Question updated. – kobrien May 25 '13 at 17:46
  • how about bbs.archlinux.org/viewtopic.php?pid=1242074#p1242074 i.e. unset GPG_AGENT_INFO – Ulrich Dangel May 25 '13 at 19:02
  • nope. no luck. I logged a bug with dejadup team. It could be configuration, but they may still be able to help. – kobrien May 25 '13 at 22:54

Install python-oauth to fix this problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.