Bug#866026: volunteer for pygpgme to python[3]-gpg pivot

draeath draeath at gmail.com
Wed Jul 12 22:55:01 UTC 2017


Patch tested on stretch, seems to do the job. Can't imagine it
wouldn't work on testing, too. Unfortunately, by the time I realized
that "python-gpg" and "python-gnupg" are not the same thing, I was
done. Please do let me know if you'd prefer me to use python-gnupg
instead, and I'll be happy to. This is good practice :)

Change summary:

1. Update dropbox distribution public key
2. Replace usages of StringIO with BytesIO. Since we are dealing with
binary files and signature files, encoding/decoding should be avoided.
This class was also needed for gnupg.GPG.verify_data() as it expected
a bytes object. The only other usage was when downloading the dropbox
.tgz - I believe it was more appropriate to use BytesIO for this as
well for the aforementioned encoding concern.
3. Replacement of python-gpgme, with python-gnupg. Note; with the
inclusion of this patch, you should replace the debian package
dependency of "python-gpgme" with "python-gnupg"

Since I can't sign this email, I recommend auditing the public key
before implementing (see DROPBOX_PUBLIC_KEY in caja-dropbox.in) should
you choose to accept this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pygpgme-refactor.patch
Type: text/x-patch
Size: 7045 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mate-team/attachments/20170712/cddcb7ad/attachment.bin>


More information about the pkg-mate-team mailing list