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 <d.pale...@gmail.com>
  2 Hanska <aks...@gmail.com>
  3 David Paleino <david.pale...@poste.it>
  4 David Paleino <d.pale...@gnudental.org>
  5 David Paleino (Alioth account) <hanska-gu...@alioth.debian.org>

which is different from what gnupg has:

  $ gpg --edit-key 2BABC6254E66E7B8450AC3E1E6AA90171392B174
  [...]
  [ unknown] (1). David Paleino <d.pale...@gmail.com>
  [ unknown] (2). [jpeg image of size 6708]
  [ unknown] (3)  Hanska <aks...@gmail.com>
  [ unknown] (4)  David Paleino <david.pale...@poste.it>
  [ revoked] (5)  David Paleino <d.pale...@gnudental.org>
  [ unknown] (6)  David Paleino (Alioth account) 
<hanska-gu...@alioth.debian.org>

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 debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to