An open API service indexing awesome lists of open source software.

https://github.com/autodesk/cryptorito

Very lightweight library for some cryptographic interactions
https://github.com/autodesk/cryptorito

gpg keybase python

Last synced: 3 months ago
JSON representation

Very lightweight library for some cryptographic interactions

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/Autodesk/cryptorito.svg?branch=master)](https://travis-ci.org/Autodesk/cryptorito)[![PyPI](https://img.shields.io/pypi/v/cryptorito.svg)](https://pypi.python.org/pypi/cryptorito)[![Maintenance](https://img.shields.io/maintenance/yes/2017.svg)]()

# Cryptorito: Some Wrapped Up Crypto Bits

This is a helper library for some of the Vault related tooling we are developing at [Autodesk](https://autodesk.github.io/). It provides access to required [GPG](https://www.gnupg.org/) and [Keybase](https://keybase.io/) functionality in a MIT licensed Python module.

As of now, it allows the following

* Fetch a key from Keybase
* Import a GPG key into our key store
* Encrypt against a set of of keys
* Decrypt with our own private key

We use this as part of the [aomi](https://autodesk.github.io/aomi) and [propriecle](https://github.com/Autodesk/propriecle) projects.

## Test

This project features the following tests (all are invoked with `make test`).

* Validation against the [pep8](https://www.python.org/dev/peps/pep-0008/) spec
* [pylint](https://www.pylint.org/) with default options
* Some unit [tests](https://github.com/Autodesk/cryptorito/tree/master/tests) powered by [nose2](http://nose2.readthedocs.io/en/latest/getting_started.html)
* Static security analysis with [bandit](https://pypi.python.org/pypi/bandit/1.0.1)
* Some integration [tests](https://github.com/Autodesk/cryptorito/tree/master/tests/integration) powered by [bats](https://github.com/sstephenson/bats).
* Checking for unused code paths with [vulture](https://pypi.python.org/pypi/vulture)

# Contribution Guidelines

* This project operates under a [Code of Conduct](https://github.com/autodesk/cryptorito/blob/master/code_of_conduct).
* Changes are welcome via pull request!
* Please use informative commit messages and pull request descriptions.
* Please remember to update the documentation if needed.
* Please keep style consistent. This means PEP8 and pylint compliance at a minimum.
* Please add tests.

If you have any questions, please feel free to contact

# Errata

The Code of Conduct is version 1.4 of the [Contributor Covenant](http://contributor-covenant.org/).