Skip to main content

Witness Angel Cryptolib

Project description

Full documentation on readthedocs!


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.8.tar.gz (99.9 kB view hashes)

Uploaded source

Built Distribution

wacryptolib-0.8-py3-none-any.whl (116.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page