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][1], but the interface is built on
top of [python-gnupg][2]; 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-gnupg` is missing support for a couple of the new status
messages introduced in gnupg2; these can cause erroneous test
failures. Some of these appear to be fixed in master, but still crop
up in 0.3.7 on my machine.
[1]: https://github.com/pazz/alot
[2]: https://pythonhosted.org/python-gnupg/
Metadata
Release files for gpgmime 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gpgmime-0.1.tar.gz | 42.1 kB | Without provenance | Details for gpgmime-0.1.tar.gz |
Release files / gpgmime-0.1.tar.gz
| Download URL | gpgmime-0.1.tar.gz |
|---|---|
| Size | 42.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb2ce0c9c0ff77af1d6f5ef4b89ad9ae56d44219cb1e54f494e6855c807f9e9a
|
|
BLAKE2b-256 checksum How to use checksums |
384a51105d2658269c8637236a3762414a9e5b729aa03084b793642491259e13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for gpgmime 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.