Simple tool to sign/verify files. Inspired by OpenBSD's signify
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
modules/dhall
LICENSE
README.md
TODO
dhall
requirements.txt
setup.py

README.md

Dhall - Sign/Verify files

Inspired by signify

Requirements

  • Python 2.X (tested with 2.7)
  • ed25519==1.3

Installation

Either clone locally by running:

git clone https://github.com/fim/dhall

and then install if necessary:

python setup.py build
python setup.py install

Or simply run:

pip install https://github.com/fim/dhall/tarball/master

Usage

Generate a key pair:

(dhall)$ dhall generate -o /tmp/dhall_key
Generating signing key /tmp/dhall_key
Generating verifying key /tmp/dhall_key.pub

Sign a file

(dhall)$ echo asdf > /tmp/msg
(dhall)$ dhall sign -k /tmp/dhall_key /tmp/msg
Signing file /tmp/msg
Signature: G3zdWmA43TCvuYp6qFqSCaJ/0Nb5wjoW3Rm2tyxNydH+mHt4NOswbybcWmGHwgZTMIdzauLHuufvGAgCuzuFCQ

Verify using the public key

(dhall)$ dhall verify -k /tmp/dhall_key.pub /tmp/msg
Verifying file /tmp/msg
Signature is good