A Python implementation of saltpack, mainly for testing and experimentation. You can play with commands like:
saltpack encrypt -m "foo" | saltpack decrypt --debug
Install with pip
or pip3
, depending on what your system calls Python
3's version of pip
:
pip install saltpack
A brief summary of the commands:
--binary
flag to skip the ASCII armoring. The default private key is
32 zero bytes, and the default recipients list is just the sender.
They will read from stdin unless you provide the --message
flag.--binary
and
--message
. The --detached
flag (for signing) and the `--signature
--raw
flag skips the "BEGIN..." header and "END..." footer. Note
that the header produced by this command doesn't describe the message
type (i.e. "BEGIN SALTPACK ENCRYPTED MESSAGE"), so prefer encrypt
and sign's built-in armoring.