mafrosis / sesame.sh

Bash implementation of Sesame encrypt/decrypt tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sesame.sh

A pure bash implementation of Sesame encrypt/decrypt tool, originally developed in Python.

Sesame provides a tar-like interface to encrypt & decrypt one or more files and directories, primarily to enable sensitive configuration files to be included in source control.

Sesame was inspired by a blog post by @jeresig.

Tests

The test framework for sesame.sh is written in Python using pytest.

Use the following to install pytest and run the tests (assumes working Python install):

sudo pip install pytest
py.test

A couple of the tests run for 5 seconds (waiting for a timeout from bash's read), you can run all but the slow tests with:

py.test -m 'not slow'

About

Bash implementation of Sesame encrypt/decrypt tool

License:MIT License


Languages

Language:Python 73.7%Language:Shell 26.3%