Remove dependency on GnuPGInterface

Bug #992195 reported by Barry Warsaw
6
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-gnupginterface package.

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.

Barry Warsaw (barry)
summary: - Port to python-gnupg
+ Remove dependency on GnuPGInterface
description: updated
Changed in duplicity:
status: New → In Progress
assignee: nobody → Barry Warsaw (barry)
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

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.

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

We renamed the file a while back so we 'own' it, and we will make the needed changes when porting to Python 3.

Changed in duplicity:
assignee: Barry Warsaw (barry) → nobody
importance: Undecided → Medium
status: In Progress → Won't Fix
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.