Simple set of tools for signing / encryption, built on Monocypher.

Signing

generate keys:

$ ichi-keygen -S -b id

sign + verify (inline):

$ echo "hello world!" \
    | ichi-sign -k id.sign.key
    | ichi-sign -V -p id.sign.pub
ichi-sign: good signature by 'id.sign.pub'

Encryption

generate keys:

$ ichi-keygen -L -b me
$ ichi-keygen -L -b id1
$ ichi-keygen -L -b id2

encrypt for `id1` and `id2`:

$ ichi-lock -E \
    -r id1.lock.pub \
    -r id2.lock.pub \
    -k me.lock.key  \
    -o encrypted \
    <(echo "Hello")

decrypt, and verify that `me` is the sender:

$ ichi-lock -D -k id1.key -v me.lock.pub encrypted
Hello

Install

$ git clone https://github.com/eugene-eeo/ichi
$ make install

Download

Source available on Github.