Déjà Dup doesn't save backups anymore - don't stop asking me for the encryption password
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Déjà Dup |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I was making backups to local hdd. The last successful backup was made in december 6 2018. On a weekly basis Deja Dup tries to make a backup as configured, but fails to do so. It prompts password for encryption, then duplicity process is running for several minutes, while reading disk extensively and consuming cpu ressources. After that it prompts password again, and no backup is made in target directory. Entering password and running backup again doesn't help either.
I've tried to reinstall deja-dup, but failed, because after installing again backup location and settings remained the same as before uninstalling.
This problem occured after the upgrade from 16.04 LTS to 18.04 LTS.
1. distribution of Linux:
Ubuntu 18.04.1 LTS
2. The version of deja-dup and duplicity:
deja-dup 37.1-2fakesync1
duplicity 0.7.17-0ubuntu1
3. The file /tmp/deja-
org.gnome.DejaDup last-restore ''
org.gnome.DejaDup periodic false
org.gnome.DejaDup periodic-period 7
org.gnome.DejaDup full-backup-period 90
org.gnome.DejaDup backend 'local'
org.gnome.DejaDup last-run '2018-12-
org.gnome.DejaDup nag-check 'disabled'
org.gnome.DejaDup prompt-check '2015-12-
org.gnome.DejaDup root-prompt true
org.gnome.DejaDup include-list ['/home/erv']
org.gnome.DejaDup exclude-list ['/home/
org.gnome.DejaDup last-backup '2018-12-
org.gnome.DejaDup allow-metered false
org.gnome.DejaDup delete-after 182
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
4. The file /tmp/deja-dup.log after running the line below and replicating the problem:
DEJA_
(deja-dup read in the files for the backup, than I put in the password for encryption at the prompt, after this it starts reading again ...)
At the end of the log it says (translated from German): "Encryption failed: incorrect session keys"
DUPLICITY: ERROR 31 GPGError
DUPLICITY: . GPGError: GPG Failed, see log below:
DUPLICITY: . ===== Begin GnuPG log =====
DUPLICITY: . gpg: WARNUNG: "--no-use-agent" ist eine veraltete Option - sie hat keine Wirkung.
DUPLICITY: . gpg: AES verschlüsselte Daten
DUPLICITY: . gpg: Verschlüsselt mit einer Passphrase
DUPLICITY: . gpg: Entschlüsselung fehlgeschlagen: Fehlerhafte Sitzungsschlüssel
DUPLICITY: . ===== End GnuPG log =====
DUPLICITY: .
Complete log file is attached.
OK. That gpg error translates to “decryption failed: bad session key” which a few other bugs reference. That’s the message you get when the password is wrong.
But you and others swear that they get that message for the right password.
Hmm. I don’t know how to reproduce unfortunately. I can look again at the password handling code, but I’m not sure I’ll be able to find the issue without being able to reproduce it.