<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 12, 2018 at 2:18 PM, Daniel Kahn Gillmor <span dir="ltr"><<a href="mailto:dkg@fifthhorseman.net" target="_blank">dkg@fifthhorseman.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jacob--<br>
<br>
thanks for your work in debian!<br>
<span class=""><br>
On Thu 2018-01-11 20:05:33 -0500, Jacob Adams wrote:<br>
> I've disabled networking and made a couple other minor changes like<br>
> adding a gitignore. I also started on a python-newt interface but its<br>
> just a mock up for now; I still need to find a proper interface to GPG<br>
> from python. We have python3-gnupg but only the version in buster<br>
> supports gpg2.<br>
<br>
</span>please do not use python3-gnupg.  it is one of several python "bindings"<br>
to GnuPG that are not well-supported and do not effectively track the<br>
underlying GnuPG toolchain.<br>
<br>
If you want to use GnuPG with python3, please use python3-gpg (for<br>
python2, use python-gpg).  These packages are built and shipped as part<br>
of gpgme, which is maintained by the GnuPG developers.<br></blockquote><div><br></div><div>Will do. It definitely seemed like there were problems with python-gnupg but it's the only thing that comes up when searching for python bindings for GPG.</div><div>I had no idea python bindings for GPGME even existed!</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If you don't care about using GnuPG specifically, but instead want to<br>
operate an OpenPGP key via python, you might look into using<br>
python3-pgpy, which doesn't have a GnuPG dependency.<br></blockquote><div><br></div><div>We already pull in GnuPG anyway so using python3-gpg is probably the easiest way to go about it.</div><div><br></div><div>Thanks,</div><div>Jacob</div></div></div></div>