Skip to main content

Witness Angel Cryptolib

Project description

https://travis-ci.com/WitnessAngel/witness-angel-cryptolib.svg?branch=master https://readthedocs.org/projects/witness-angel-cryptolib/badge/?version=latest&style=flat

Full documentation on readthedocs!

Summary

This lib gathers utilities to generate and store cryptographic keys, and to encrypt/decrypt/sign encrypted containers, for the WitnessAngel project.

It defines a cryptainer format which allows multiple actors (the user’s device as well as trusted third parties) to add layers of encryption and signature to sensitive data.

It also provides utilities for webservices and their error handling, as well as test helpers so that software extending the library may easily check that their own subclasses respect the invariants of this system.

CLI interface

You can play with cryptainers using this command line interface.

By default, CLI-generated cryptainers use a hard-coded and simple cryptographic conf, using only locally-stored keys, so they are insecure. Use –cryptoconf argument during encryption, to specify a config with your own trusted third parties.

$ python -m wacryptolib encrypt -i <data-file> -o <cryptainer-file>

$ python -m wacryptolib decrypt -i <cryptainer-file> -o <data-file>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wacryptolib-0.7.tar.gz (94.8 kB view hashes)

Uploaded Source

Built Distribution

wacryptolib-0.7-py3-none-any.whl (111.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page