[Bug 1710309] Re: Backup does not recognize gpg 2 option and fails

2017-08-19 Thread Launchpad Bug Tracker
This bug was fixed in the package deja-dup - 35.4-0ubuntu3

---
deja-dup (35.4-0ubuntu3) artful; urgency=medium

  * debian/patches/allow-no-packagekit.patch:
- Cherry-pick patch from upstream git that properly fixes our tests
  in autopkgtests where packagekit isn't installed.

 -- Michael Terry   Sat, 19 Aug 2017 14:24:51 -0400

** Changed in: deja-dup (Ubuntu)
   Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710309

Title:
  Backup does not recognize gpg 2 option and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1710309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1710309] Re: Backup does not recognize gpg 2 option and fails

2017-08-17 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-desktop/deja-dup/ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710309

Title:
  Backup does not recognize gpg 2 option and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1710309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1710309] Re: Backup does not recognize gpg 2 option and fails

2017-08-17 Thread Michael Terry
** Changed in: deja-dup
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710309

Title:
  Backup does not recognize gpg 2 option and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1710309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1710309] Re: Backup does not recognize gpg 2 option and fails

2017-08-14 Thread Michael Terry
OK, fixed in deja-dup.  We now report GPG errors to user unless they
really do look like a bad password error.

https://git.launchpad.net/deja-
dup/commit/?id=e603ce8ac530f764862af082f689d1fa5062be5f

** Changed in: deja-dup
   Status: Invalid => Fix Committed

** Package changed: duplicity (Ubuntu) => deja-dup (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710309

Title:
  Backup does not recognize gpg 2 option and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1710309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1710309] Re: Backup does not recognize gpg 2 option and fails

2017-08-14 Thread Michael Terry
Well the endless loop aspect is probably from how deja dup is driving
duplicity. We treat most fog issues as bad passwords, I believe because
the error messages are a little variable.

So duplicity is likely correctly reporting gpg messages. If it doesn't
catch this case especially, maybe deja dup should try to more narrowly
handle gpg errors and report ones it doesn't recognize to the user.

I'll set task back to deja dup.

** Project changed: duplicity => deja-dup

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710309

Title:
  Backup does not recognize gpg 2 option and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1710309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1710309] Re: Backup does not recognize gpg 2 option and fails

2017-08-14 Thread Mats Andtbacka
duplicity cannot be expected to parse gpg.conf, no, nor to control gnupg
to such an extent. but if duplicity is to call out to gnupg for
encryption services, then duplicity can IMO be expected to recover
gracefully from catastrophic failures on gnupg's behalf to perform, even
when it arguably should not fail.

that gnupg chokes on its own configuration file and dies is gnupg's
fault; but that this abnormal termination of gnupg sends duplicity into
an endless loop that produces no backup yet never terminates, THAT is
duplicity's fault. it would be better for duplicity to detect the fact
that gnupg has failed unexpectedly and treat this as an unrecoverable
error, passing a failure message on to the user and terminating
gracefully.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710309

Title:
  Backup does not recognize gpg 2 option and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1710309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1710309] Re: Backup does not recognize gpg 2 option and fails

2017-08-14 Thread Kenneth Loafman
This is not something duplicity controls.  If gpg is saying that it does
not recognize the trust model supplied in gpg.conf, then the bug could
be that the version of gpg on the system is too old for this trust
model.  It is not in duplicity since duplicity has no reason to read
gpg.conf.  Perhaps running a test encryption after changing gpg.conf
would have shown the problem?

** Changed in: duplicity
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710309

Title:
  Backup does not recognize gpg 2 option and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1710309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1710309] Re: Backup does not recognize gpg 2 option and fails

2017-08-12 Thread Michael Terry
** No longer affects: deja-dup

** No longer affects: deja-dup (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710309

Title:
  Backup does not recognize gpg 2 option and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1710309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1710309] Re: Backup does not recognize gpg 2 option and fails

2017-08-12 Thread Vej
Hello Mats,

thanks for your output.

I was able to reproduce your bug  and will add reproduction steps based
on these lines of your log:

DUPLICITY: . gpg: unknown trust model `tofu+pgp'
DUPLICITY: . gpg: /home/lynx/.gnupg/gpg.conf:89: invalid option

This indicates, that this might be a problem with the backend duplicity,
so I will set this project as affected and forward to both upstreams.

Best

Vej

** Description changed:

  Attempting to create a full backup to a SMB NAS, succeeds if backup is
  set to unencrypted. Fails if password is specified.
  
  Symptom: deja-dup loops endlessly through "scanning" -> "encryption
  password needed" -> "require password?" and round and round.
  
  Possibly related to recent gnupg options changes? Creating a GPG key
  pair for enigmail to use was the last major change i made to my set-up
  since the last time these back-ups succeeded. If that's the cause, i'll
  be darned if i can work out what to revert where.
  
  Release:Ubuntu 16.04.3 LTS
  deja-dup34.2-0ubuntu1.1
  duplicity   0.7.06-2ubuntu2
+ 
+ Reproduction Steps:
+ 
+ * Add the line "trust-model tofu+pgp" to the end of your gpg.conf (probably 
~/.gnupg/gpg.conf)
+ * Try an encrypted backup of any data to any destination.

** Changed in: deja-dup (Ubuntu)
   Importance: Undecided => Medium

** Also affects: duplicity (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: duplicity (Ubuntu)
   Status: New => Triaged

** Changed in: deja-dup (Ubuntu)
   Status: Confirmed => Triaged

** Changed in: duplicity (Ubuntu)
   Importance: Undecided => Medium

** Also affects: duplicity
   Importance: Undecided
   Status: New

** Also affects: deja-dup
   Importance: Undecided
   Status: New

** Changed in: deja-dup
   Status: New => Triaged

** Changed in: deja-dup
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710309

Title:
  Backup does not recognize gpg 2 option and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1710309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1710309] Re: Backup does not recognize gpg 2 option and fails

2017-08-12 Thread Vej
@Developers: Please note, that the trust-model tofu+pgp is valid for PGP
2. See https://www.gnupg.org/documentation/manuals/gnupg/GPG-
Configuration-Options.html#GPG-Configuration-Options

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710309

Title:
  Backup does not recognize gpg 2 option and fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1710309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs