cryptletter icon indicating copy to clipboard operation
cryptletter copied to clipboard

support upload in command prompt ?

Open changchichung opened this issue 3 years ago • 1 comments

Does cryptletter support uploading messages via curl in command line mode?

changchichung avatar Aug 13 '21 00:08 changchichung

Unfortunately not.

Since cryptletter encrypts messages on the client side, it would require to prepare the payload in a very specific way, before sending it out with curl.

It should be possible to implement those client mechanics in the cli, for example:

# NOTE: Proposal, this does not work
echo "Secret message" | cryptletter message:post -e https://remote-cryptletter-instance.example.com

Sounds like a solid feature, I'll add it to the roadmap.

Scribblerockerz avatar Aug 13 '21 06:08 Scribblerockerz