Witness Angel Cryptolib
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for wacryptolib-0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc7a75634d6467e61e74ff15da0e21db7ac525910771ce50f38ec1b75c1e9023 |
|
MD5 | 6670558e42ce68d29ed6ee7ed8df4d43 |
|
BLAKE2b-256 | b05b8ce602e583d2ff0609512edd554761e1eb8f7ec884ffe92fb856c7e410b8 |