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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file wacryptolib-0.7.tar.gz.

File metadata

  • Download URL: wacryptolib-0.7.tar.gz
  • Upload date:
  • Size: 94.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.1 Windows/10

File hashes

Hashes for wacryptolib-0.7.tar.gz
Algorithm Hash digest
SHA256 8f48664a9348a6f0536a5226628d54beaf4916b1506fb08795256e0a3c111f9a
MD5 d5315e2b03958c11489a0c4310614f04
BLAKE2b-256 c7a498428ecf04a03dc5f5a5df1b89f43aa5ee3d90c86ec01e5ae80ff24008f5

See more details on using hashes here.

File details

Details for the file wacryptolib-0.7-py3-none-any.whl.

File metadata

  • Download URL: wacryptolib-0.7-py3-none-any.whl
  • Upload date:
  • Size: 111.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.1 Windows/10

File hashes

Hashes for wacryptolib-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 dc7a75634d6467e61e74ff15da0e21db7ac525910771ce50f38ec1b75c1e9023
MD5 6670558e42ce68d29ed6ee7ed8df4d43
BLAKE2b-256 b05b8ce602e583d2ff0609512edd554761e1eb8f7ec884ffe92fb856c7e410b8

See more details on using hashes here.

Supported by

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