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.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 925d67c7e0a45eb560029e2f2eaa86f886f2ad5c9ee4fbee8539c55a4295b822 |
|
MD5 | 2235226f05fc96bbb09fef56b5376b09 |
|
BLAKE2b-256 | c3afd7a6f75bea847427fc213f48fdcde00ce537ae17212705f1f31d9bd6c31b |