encryption password needed

Bug #1247392 reported by Samop
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Déjà Dup
New
Undecided
Unassigned

Bug Description

When doing a backup I am continually asked for an encryption password, and I cannot get passed this step.

This started happening two weeks ago after the update manager updated a number of applications etc. Previous to that it was working perfectly.

The fault occurs when doing an automatic AND manual backup.

Ubuntu versdion is 12.04.3 LTS

Deja and Duplicty versions
deja-dup 22.0-0ubuntu4
duplicity 0.6.18-0ubuntu3.2

Revision history for this message
Samop (samopn) wrote :
Revision history for this message
Samop (samopn) wrote :

Further update. I discovered that if I changed the destibnation folder name it worked, hoever it then did a full backup, not an incremental one.

As I mentioned, this started happening out of the blue so it is not that I can't remember the previously entered encryption key....

Revision history for this message
Naël (nathanael-naeri) wrote :

If this is still happening, try finding out which GPG error triggers this issue, as indicated in bug report 1540174

Revision history for this message
Naël (nathanael-naeri) wrote :

Didn't see a log file was attached, sorry:

DUPLICITY: ERROR 31 GPGError
DUPLICITY: . GPGError: GPG Failed, see log below:
DUPLICITY: . ===== Begin GnuPG log =====
DUPLICITY: . gpg: CAST5 encrypted data
DUPLICITY: . gpg: encrypted with 1 passphrase
DUPLICITY: . gpg: decryption failed: bad key
DUPLICITY: . ===== End GnuPG log =====

Revision history for this message
Michael Terry (mterry) wrote :

After some testing, I think I know what could cause this (now very old) bug. There was a bug in deja-dup/duplicity that allowed for an accidental change in password when making the occasional full backup checkpoint (bug 918489, fixed in deja-dup 34.3).

Here's how this would be reproduced, using deja-dup <= 34.2:
- Create a new backup with password 'a'
- Keep backing up until deja-dup decides to make a new backup. Then either have a different password saved in gnome-keyring or enter a different password when it prompts. Say, 'b'
- Now you have two backup chains with different passwords, but deja-dup will keep adding new backups.
- Until either your cache gets blown away or deja-dup decides to do its every-two-months backup-validation check. (Or heaven forbid, your hard drive gets blown away and you need to restore.)
- When either happens, duplicity will try to download the encrypted manifest files for all the backups and deja-dup will prompt you for the decryption password.
- If you enter 'a', it will choke on your second backup and show the password prompt again. If you enter 'b' it will choke on the first. Thus you get eternal backup prompts.

The only way to recover is to blow away older backups (or the whole thing) and start over. If you were trying to restore, your files can be manually recovered using duplicity though.

Anyway. That's my research into what this bug was likely about. I'll mark it as a dup of bug 918489 (which has been fixed).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.