Bug#944512: duplicity: shouldn't be able to create a backup chain with two different passwords

2019-11-13 Thread Michael Terry
On Wed, Nov 13, 2019, at 03:19, Alexander Zangerl wrote: > On Tue, 12 Nov 2019 17:10:40 -0500, "Michael Terry" writes: > >I could throw you a patch tomorrow. And it could have the benefit of > >being upstreamable too. > > that sounds very good; thanks for your time! OK, attached is a patch that I

Bug#944512: duplicity: shouldn't be able to create a backup chain with two different passwords

2019-11-13 Thread Alexander Zangerl
On Tue, 12 Nov 2019 17:10:40 -0500, "Michael Terry" writes: >I don’t suppose you’d object to an update to the patch that at least >makes it conditional to gpg key scenarios? absolutely no objection; i just hadn't found the time to add that clean logic the last time i looked at that particular iss

Bug#944512: duplicity: shouldn't be able to create a backup chain with two different passwords

2019-11-12 Thread Michael Terry
On Tue, Nov 12, 2019, at 17:04, Alexander Zangerl wrote: > On Tue, 12 Nov 2019 07:46:37 -0500, "Michael Terry" writes: > >Wait, you mean that you want to back up without even needing the > >passphrase for the secret gpg key? > > that's precisely it. > > the secret key isn't even present on the ma

Bug#944512: duplicity: shouldn't be able to create a backup chain with two different passwords

2019-11-12 Thread Alexander Zangerl
On Tue, 12 Nov 2019 07:46:37 -0500, "Michael Terry" writes: >Wait, you mean that you want to back up without even needing the >passphrase for the secret gpg key? that's precisely it. the secret key isn't even present on the machines that the backup runs on, just the public key. gpg (on duplicity'

Bug#944512: duplicity: shouldn't be able to create a backup chain with two different passwords

2019-11-12 Thread Michael Terry
On Tue, Nov 12, 2019, at 07:39, Michael Terry wrote: > On Tue, Nov 12, 2019, at 04:54, Alexander Zangerl wrote: >> >test the gpg encryption key issue (this one needs you to specify both >> >KEY and PASSPHRASE environment variables -- your gpg key id and >> >passphrase respectively). >> >> your sce

Bug#944512: duplicity: shouldn't be able to create a backup chain with two different passwords

2019-11-12 Thread Michael Terry
On Tue, Nov 12, 2019, at 04:54, Alexander Zangerl wrote: > >test the gpg encryption key issue (this one needs you to specify both > >KEY and PASSPHRASE environment variables -- your gpg key id and > >passphrase respectively). > > your scenario doesn't cover the case i'm trying to keep working, ie.

Bug#944512: duplicity: shouldn't be able to create a backup chain with two different passwords

2019-11-12 Thread Alexander Zangerl
On Mon, 11 Nov 2019 00:57:03 -0500, Michael Terry writes: >But then duplicity fixed the issue with gpg encryption keys and Debian never >dropped its patch. i disagree with that assessment: the way i read validate_encryption_settings in dup_main, resuming a backup with gpg encryption only (and no s

Bug#944512: duplicity: shouldn't be able to create a backup chain with two different passwords

2019-11-10 Thread Michael Terry
Package: duplicity Version: 0.8.04-2ubuntu1 Severity: normal Dear Maintainer, Many years ago, duplicity had a bug that allowed you to resume a backup with a different password than the one with which you started the backup. This left your backup chain in an unrecoverable state, since duplicity