Git Product home page Git Product logo

python-gpgmime's Introduction

python-gpgmime is a library for manipulating PGP mime messages.

It provides support for encrypting, decrypting, signing, and verifying PGP mime email messages (RFC 3156). It's based partly on the corresponding functionality in alot, but the interface is built on top of python-gnupg; It provides a subclass of that library's GPG, with some additional mime-related methods.

This is in a very early stage of development; not everything works yet, and what does may still be rough around the edges.

LICENSE

GPL, version 3 or later.

HACKING

Get set up:

virtualenv .venv
source .venv/bin/activate
python setup.py develop
pip install -r test-requirements.txt

Running the test suite:

py.test

Notes on tests:

  • The folder testing/gpghome contains a keyring used by the test suite, and there's a fixture defined in testing/utils.py that sets up the library to use this keyring. Obviously, don't rely on these keys for security; the private keys are published in a public git repository! The passphrases for the secret keys are as follows:
    • Alice: secret
    • Bob has no passphrase on his key (tsk tsk).
    • Mallory: god
  • Tests themselves go in testing/tests. Support code for tests goes in other modules under testing/.

python-gpgmime's People

Contributors

zenhack avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.