Remove dependency on GnuPGInterface
Bug #992195 reported by
Barry Warsaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Currently duplicity uses GnuPGInterface to provide Python support for GPG. Upstream duplicity contains its own copy while in Ubuntu, this is patched to use the python-
The problem with this is that GnuPGInterface is (AFAICT) no longer being maintained, and thus will never support Python 3.
This will make it easier to port duplicity to Python 3 later.
One possibility is to use python-gnupg which is supported for Python 2 and 3, but it has a completely different API that won't make a port very easy. The alternative is just to wrap subprocess directly. I've tried the former and failed, so now I'm going to try the latter.
summary: |
- Port to python-gnupg + Remove dependency on GnuPGInterface |
description: | updated |
Changed in duplicity: | |
status: | New → In Progress |
assignee: | nobody → Barry Warsaw (barry) |
To post a comment you must log in.
I patched GnuPGInterface to harvest the GnuPG tasks as soon as they were complete rather than wait for the iterators to complete and harvest them then. You will need to be aware of that patch otherwise folks with long incremental chains will run out of resources because GnuPG tasks have not been harvested in a timely manner.