GitXplorerGitXplorer
w

pyassuan

public
4 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
b18cb7fe4bda07f4c975c61743adbcc75c693f64

*: Run update-copyright.py

wwking committed 6 years ago
Unverified
7bdffe153e0999625a9e874ce68c5fcf43c3eac8

setup.py: Claim conformance with Python 3.4 through 3.6

wwking committed 6 years ago
Unverified
1c19d389bbf5894a0bf451e2fc9ddace4317661a

*: Drop nose dependency

wwking committed 6 years ago
Unverified
e3876bec77c6d0c19ee380cc1b4e820304a51450

README: Drop enable-special-filenames link reference

wwking committed 6 years ago
Unverified
9b6438aa72872fc9479fdc052b81e6bed58a5c07

pinentry.py: Show errors in GETPIN handling

wwking committed 8 years ago
Unverified
bcc3241a9bc8e047e1f335e35c5b5dd995a22d0d

.update-copyright.conf: convert %(project)s -> {project} formatting

wwking committed 9 years ago

README

The README file for this repository.

Python module and tools for communicating in the Assuan_ protocol.

There are a number of GnuPG_ wrappers for python out there, but they mostly work via the gpg executable. This is an attempt to cut to the chase and speak directly to gpgme-tool (source) over a well-defined socket protocol.

__ wrappers_ __ gpgme-tool_

Installation

Packages

Gentoo


I've packaged ``pyassuan`` for Gentoo_.  You need layman_ and
my `wtk overlay`_.  Install with::

  # emerge -av app-portage/layman
  # layman --add wtk
  # emerge -av dev-python/pyassuan

Dependencies
------------

``pyassuan`` is a simple package with no external dependencies outside
the Python 3.3+ standard library.

Installing by hand
------------------

``pyassuan`` is available as a Git_ repository::

  $ git clone git://tremily.us/pyassuan.git

See the homepage_ for details.  To install the checkout, run the
standard::

  $ python setup.py install

Usage
=====

Checkout the docstrings and the examples in ``bin``.

Testing
=======

Run the internal unit tests with `Python 3.2+'s unittest discovery`__::

  $ python -m unittest discover

To test running servers by hand, you can use `gpg-connect-agent`_.
Despite the name, this program can connect to any Assuan server::

  $ gpg-connect-agent --raw-socket name

__ unittest-discovery_

Licence
=======

This project is distributed under the `GNU General Public License
Version 3`_ or greater.

Author
======

W. Trevor King
wking@tremily.us


.. _Assuan: http://www.gnupg.org/documentation/manuals/assuan/
.. _GnuPG: http://www.gnupg.org/
.. _wrappers: http://wiki.python.org/moin/GnuPrivacyGuard
.. _gpgme-tool:
  http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=blob;f=src/gpgme-tool.c;hb=HEAD
.. _Gentoo: http://www.gentoo.org/
.. _layman: http://layman.sourceforge.net/
.. _wtk overlay: http://blog.tremily.us/posts/Gentoo_overlay/
.. _Git: http://git-scm.com/
.. _homepage: http://blog.tremily.us/posts/pyassuan/
.. _gpg-connect-agent:
  http://www.gnupg.org/documentation/manuals/gnupg-devel/gpg_002dconnect_002dagent.html
.. _unittest-discovery:
  https://docs.python.org/3.5/library/unittest.html#unittest-test-discovery
.. _GNU General Public License Version 3: http://www.gnu.org/licenses/gpl.html