Found in extras/tomber
Tomber is a python wrapper for Tomb. It relies on Python's subprocess module for Tomb command execution.
Please note that for future compatibility with Tomb, using subprocess execution of the tomb script is the recommended way to wrap its functionalities in other languages.
Tomber is still under development. Any contributions are greatly welcomed here or on its original repository https://github.com/reiven/tomber
First of all Tomb must be installed. Refer to INSTALL
Then Tomber can be installed from PyPi using pip.
Enter the following command in a terminal:
pip install tomber
Alternatively you can install it from this source repository
from tomber import *
# dig a tomb of 20mb
tdig('test.tomb',20)
# forge a key
tforge('test.key', 'this is the passphrase for the key')
# lock the tomb
tlock('test.tomb', 'test.key', 'this is the passphrase for the key')
# open the tomb
topen('test.tomb', 'test.key', 'this is the passphrase for the key', '/tmp/tomb')
# close the tomb
tclose('test')
Keep in mind that the included test.py file execute the
Tomb.slam()
command which will likely close any tombs, encrypted
volumes, you may have open.
Tomber is Copyright (c) 2014 by Federico Cardoso [email protected]
This package is distributed under BSD License.
See LICENSE