Navigation

Project Links

Meta

Maintainers

Tomber is a python wrapper for [Tomb](https://github.com/dyne/Tomb).It relies on Python's subprocess module for Tomb commandexecution. This project was inspired by pytomb which was included inTomb ./extras in the past but is no longer maintained.

The included test.jpg image file is used to test the `tbury()` and`texhume()` functions.

To speedup forge, an entropy generator such as[haveged](http://www.issihosts.com/haveged/) can be installed.

Compatibity----------

Current version requieres at least Tomb v2.2 to run.If for any reason you need to use older Tomb version with tomber, pleaseinstall tomber v1.0.2

Installation----------

First, Tomb must be installed. Please refer to the[Tomb documentation](https://github.com/dyne/Tomb/blob/master/INSTALL.md)to get Tomb installed on your system.

Second, tomber must be installed. Tomber can be installed from[PyPi](https://pypi.python.org/pypi) using[pip](https://pypi.python.org/pypi/pip). Enter the following commandinto terminal:

pip install tomber

Alternatively you can clone this public repository by entering the followingcommand into terminal.

git clone https://github.com/reiven/tomber

Example usage-------------```pythonfrom tomber import *

# dig a tomb of 20mbtdig('test.tomb',20)

# forge a keytforge('test.key', 'this is the passphrase for the key')

# lock the tombtlock('test.tomb', 'test.key', 'this is the passphrase for the key')

# open the tombtopen('test.tomb', 'test.key', 'this is the passphrase for the key', '/tmp/tomb')

# close the tombtclose('test')```

Running tests-------------

Keep in mind that the included *test.py* file execute the`Tomb.slam()` command which will likely close any tombs, encryptedvolumes, you may have open.

License-------

This package is distributed under BSD License.See [LICENSE](https://github.com/reiven/pynientos/blob/master/LICENSE)