Skip to main content

Witness Angel Cryptolib

Project description

-> Full documentation on READTHEDOCS! <-


The Witness Angel Cryptolib is a toolkit aimed at handling secure configuration-driven containers, called cryptainers.

By leveraging a flexible JSON-based format called cryptoconf, users can define their own hybrid cryptosystem, recursively combining symmetric cihers, asymmetric ciphers, shared secrets, and data signatures.

Access to the cyptainers is secured by a variety of actors: local device, remote server, trusted third parties…

The decryption process can involve different steps, like entering passphrases, or submitting authorization requests to third parties.

Overall, the lib gathers lots of utilities to generate and store cryptographic keys, encrypt/check/decrypt cryptainers, access webservices and recorder sensors, and help testing other libraries willing to extend these tools.

CLI interface

A command-line interface is available to play with simple cryptainers.

If you didn’t install the library via pip, ensure that “src/” is in your PYTHONPATH environnement variable.

$ python -m wacryptolib --help

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

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

$ python -m wacryptolib summarize -i <cryptoconf-or-cryptainer>

By default, CLI-generated cryptainers use a simple hard-coded cryptographic conf, using unprotected local keypairs, so they are insecure. Use a –cryptoconf argument during encryption, to specify a config with your own trusted third parties. But note that many cases (accessing remote web gateways, entering passphrases…) are not yet supported by this CLI.

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

Uploaded source

Built Distribution

wacryptolib-0.10-py3-none-any.whl (69.5 kB view hashes)

Uploaded py3

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