[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#169807: marked as done (ITP: pyme -- Python interface to GPGME)



Your message dated Sat, 23 Nov 2002 23:02:49 -0500
with message-id <E18Fnyr-0002uz-00@auric.debian.org>
and subject line Bug#169807: fixed in pyme 0.5.0
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Nov 2002 20:37:53 +0000
>From jgoerzen@excelhustler.com Tue Nov 19 14:37:52 2002
Return-path: <jgoerzen@excelhustler.com>
Received: from (wile.excelhustler.com) [68.99.114.102] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18EF84-0000gX-00; Tue, 19 Nov 2002 14:37:52 -0600
Received: by wile.excelhustler.com (Postfix, from userid 1000)
	id A8182772B; Tue, 19 Nov 2002 14:37:21 -0600 (CST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: John Goerzen <jgoerzen@excelhustler.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Debbugs-CC: debian-devel@lists.debian.org
Subject: ITP: pyme -- Python interface to GPGME
X-Mailer: reportbug 2.9
Date: Tue, 19 Nov 2002 14:37:21 -0600
Message-Id: <[🔎] 20021119203721.A8182772B@wile.excelhustler.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.1 required=5.0
	tests=SPAM_PHRASE_03_05
	version=2.41
X-Spam-Level: 

Package: wnpp
Version: unavailable; reported 2002-11-19
Severity: wishlist

* Package name    : pyme
  Version         : 0.5.0
  Upstream Author : John Goerzen
* URL             : http://quux.org/devel/pyme
* License         : GPL
  Description     : Python interface to GPGME

I'm writing this; to be uploaded shortly.  (Web site is not yet active, but
will be soon).

>From the docs:

Welcome to PyME, the GPGME Interface for Python.  "Pyme", when prounced,
rhymes with "Pine".

The latest release of this package may be obtained from
http://quux.org/devel/pyme/

FEATURES
--------

 * Feature-rich, full implementation of the GPGME library.  Supports
   all GPGME features except interactive editing (coming soon).
   Callback functions may be written in pure Python.

 * Ability to sign, encrypt, decrypt, and verify data.

 * Ability to list keys, export and import keys, and manage the keyring.

 * Fully object-oriented with convenient classes and modules.

GENERAL OVERVIEW
----------------

For those of you familiar with GPGME, you will be right at home here.

Pyme is, for the most part, a direct interface to the C GPGME
library.  However, it is re-packaged in a more Pythonic way --
object-oriented with classes and modules.  Take a look at the classes
defined here -- they correspond directly to certain object types in GPGME
for C.  For instance, the following C code:

GpgmeCtx context;
GpgmeRecipients recp;
gpgme_new(&context);
gpgme_recipients_new(&recp);
...
gpgme_op_encrypt(context, recp, plain, cipher);

Translates into the following Python code:

context = core.Context()
recp = core.Recipients()
...
context.encrypt(recp, plain, cipher)

The Python module automatically does error-checking and raises Python
exceptions when GPGME signals an error.  Those exceptions correspond
directly to GPGME errors.  All GPGME exceptions are defined in the
gpgme.errors module, and pyme.errors.GPGMEError is the parent of all
exceptions.

IMPORTANT NOTE
--------------
This documentation only covers a small subset of available GPGME functions
and
methods.  Please consult the documentation for the C library
(available in doc/gpgme in this distribution) for comprehensive coverage.

This library uses Python's reflection to automatically detect the methods
that are available for each class, and as such, most of those methods
do not appear explicitly anywhere.

QUICK START SAMPLE PROGRAM
--------------------------
This program is not for serious encryption, but for example purposes only!

import sys
from pyme import core, constants
import pyme.constants.validity

# Set up our input and output buffers.

plain = core.Data('This is my message.')
cipher = core.Data()

# Initialize our context.

c = core.Context()
c.set_armor(1)

# Set up the recipients.

sys.stdout.write("Enter name of your recipient: ")
name = sys.stdin.readline().strip()
r = core.Recipients()
r.add(name, constants.validity.FULL)

# Do the encryption.

c.op_encrypt(r, plain, cipher)
print cipher.read()

Note that although there is no explicit error checking done here, the
Python GPGME library is automatically doing error-checking, and will
raise an exception if there is any problem.

This program is in the Pyme distribution as examples/simple.py.  The
examples
directory contains more advanced samples as well.

FOR MORE INFORMATION
--------------------
PYME homepage: http://quux.org/devel/pyme
GPGME documentation: http://www.fifi.org/cgi-bin/info2www?%28gpgme%29
GPGME homepage: http://www.gnupg.org/gpgme.html

Base classes: pyme.core (START HERE!)
Auxiliary classes: pyme.aux
Utilities: pyme.util
Error classes: pyme.errors
Constants: pyme.constants
Version information: pyme.version

Base classes are documented at pyme.core and auxiliary classes at pyme.aux


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux wile 2.4.19 #1 Mon Oct 7 13:43:01 CDT 2002 i686
Locale: LANG=C, LC_CTYPE=en_US


---------------------------------------
Received: (at 169807-close) by bugs.debian.org; 24 Nov 2002 04:09:46 +0000
>From rdonald@auric.debian.org Sat Nov 23 22:09:46 2002
Return-path: <rdonald@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18Fo5Z-0001lz-00; Sat, 23 Nov 2002 22:09:45 -0600
Received: from rdonald by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 18Fnyr-0002uz-00; Sat, 23 Nov 2002 23:02:49 -0500
From: John Goerzen <jgoerzen@complete.org>
To: 169807-close@bugs.debian.org
X-Katie: lisa $Revision: 1.19 $
Subject: Bug#169807: fixed in pyme 0.5.0
Message-Id: <E18Fnyr-0002uz-00@auric.debian.org>
Sender: Randall Donald <rdonald@auric.debian.org>
Date: Sat, 23 Nov 2002 23:02:49 -0500
Delivered-To: 169807-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
pyme, which is due to be installed in the Debian FTP archive:

pyme_0.5.0.dsc
  to pool/main/p/pyme/pyme_0.5.0.dsc
pyme_0.5.0.tar.gz
  to pool/main/p/pyme/pyme_0.5.0.tar.gz
python-pyme-doc_0.5.0_all.deb
  to pool/main/p/pyme/python-pyme-doc_0.5.0_all.deb
python-pyme_0.5.0_all.deb
  to pool/main/p/pyme/python-pyme_0.5.0_all.deb
python2.2-pyme_0.5.0_i386.deb
  to pool/main/p/pyme/python2.2-pyme_0.5.0_i386.deb
python2.3-pyme_0.5.0_i386.deb
  to pool/main/p/pyme/python2.3-pyme_0.5.0_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 169807@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
John Goerzen <jgoerzen@complete.org> (supplier of updated pyme package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 19 Nov 2002 14:32:36 -0600
Source: pyme
Binary: python-pyme python-pyme-doc python2.2-pyme python2.3-pyme
Architecture: source i386 all
Version: 0.5.0
Distribution: unstable
Urgency: low
Maintainer: John Goerzen <jgoerzen@complete.org>
Changed-By: John Goerzen <jgoerzen@complete.org>
Description: 
 python-pyme - Python interface to the GPGME GnuPG encryption library
 python-pyme-doc - Python interface to the GPGME GnuPG encryption library
 python2.2-pyme - Python interface to the GPGME GnuPG encryption library
 python2.3-pyme - Python interface to the GPGME GnuPG encryption library
Closes: 169807
Changes: 
 pyme (0.5.0) unstable; urgency=low
 .
   * Initial Release.  Closes: #169807.
Files: 
 fc8a88e274b09ff344e66ba620344623 615 libs optional pyme_0.5.0.dsc
 cb5e03f593e5ee458d197ac7c5eb38d0 340803 libs optional pyme_0.5.0.tar.gz
 2b2bddeec9361306b6f8348fa2028280 258258 libs optional python-pyme-doc_0.5.0_all.deb
 48d4e3b1a6c3147006c5cdea29f50cac 1804 libs optional python-pyme_0.5.0_all.deb
 187f495f3a44b76b8e8bc17caddbc1d6 59410 libs optional python2.2-pyme_0.5.0_i386.deb
 abfb3f5332bf9588451089c5e078f624 56690 libs optional python2.3-pyme_0.5.0_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE92rD1gxaZAmAh+EsRAk5QAKCKV84+kVkpIgXaPfkrB3wBSyud4QCgo7D1
sxicBBNs0/g1vgmNwcAdepk=
=6j2S
-----END PGP SIGNATURE-----



Reply to: