Qabel / qabel-core

(B2C) :cloud: Implementation of Qabel-Core in Java
Other
20 stars 17 forks source link

qabel-cli noisebox encrypt|decrypt #659

Open enkore opened 7 years ago

enkore commented 7 years ago

Simple form:

qabel-cli noisebox encrypt <sender secret> <receiver public> <file> [<outfile>]
qabel-cli noisebox decrypt <sender secret> <receiver public> <file> [<outfile>]

Alternate form, more complex, not as useful; using identities and contacts:

qabel-cli noisebox encrypt [--identity] <contact> <file> [<outfile>]
qabel-cli noisebox decrypt [--identity] <contact> <file> [<outfile>]

523 may add something like a --version parameter to force an (the) old version when encrypting.

enkore commented 7 years ago

This would also make it far easier to generate test vectors for "other software that uses noise boxes" (eg. the index). Currently the process for that is basically stuffing the data into a CryptoUtils test and extracting the noise box through a break point.