Package: python-pyme
Version: 0.8.1+clean-1
Severity: normal
Hello,
thank you for maintaning python-pyme.
Let's take an example key:
gpg --recv 2BABC6254E66E7B8450AC3E1E6AA90171392B174
given this script:
import pyme.core
c = pyme.core.Context()
k = c.get_key("2BABC6254E66E7B8450AC3E1E6AA90171392B174", False)
for idx, u in enumerate(k.uids):
print idx+1, u.uid
the output is:
1 David Paleino <[email protected]>
2 Hanska <[email protected]>
3 David Paleino <[email protected]>
4 David Paleino <[email protected]>
5 David Paleino (Alioth account) <[email protected]>
which is different from what gnupg has:
$ gpg --edit-key 2BABC6254E66E7B8450AC3E1E6AA90171392B174
[...]
[ unknown] (1). David Paleino <[email protected]>
[ unknown] (2). [jpeg image of size 6708]
[ unknown] (3) Hanska <[email protected]>
[ unknown] (4) David Paleino <[email protected]>
[ revoked] (5) David Paleino <[email protected]>
[ unknown] (6) David Paleino (Alioth account)
<[email protected]>
the jpeg image uid has been silently skipped, invalidating the following
sequence numbers. If I later want to generate a list of numeric uids to
sign in order to feed signing commands to gnupg, I end up signing the
wrong uids.
This basically makes python-pyme unusable for the task of automatically
selecting the uids to sign.
I do not know if the underlying C library has the same problem or not,
as I am working with python only and I have no boilerplate code at hand
to test the C interface.
Ciao,
Enrico
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-pyme depends on:
ii libc6 2.9-4 GNU C Library: Shared libraries
ii libgpg-error0 1.6-1 library for common error values an
ii libgpgme11 1.1.8-2 GPGME - GnuPG Made Easy
ii python 2.5.4-2 An interactive high-level object-o
ii python-central 0.6.11 register and build utility for Pyt
python-pyme recommends no packages.
Versions of packages python-pyme suggests:
ii python-pyme-doc 0.8.1+clean-1 Python interface to the GPGME GnuP
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]