From 349e8aa76123e517c2333997c692bb2895c69839 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 17 Mar 2023 20:55:43 +0100 Subject: [PATCH] Update example in README Signed-off-by: Knut Ahlers --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dafbf89..95f11f2 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ As `ots` is designed to never let the server know the secret you are sharing you This is slightly more complex as you first need to encrypt your secret before sending it to the API but in this case you can be sure the server will in no case be able to access the secret. Especially if you are using ots.fyi (my public hosted instance) you should not trust me with your secret but use an encrypted secret: ```console -# echo "my password" | openssl aes-256-cbc -base64 -pass pass:mypass -md md5 +# echo "my password" | openssl aes-256-cbc -base64 -pass pass:mypass -iter 300000 -md sha512 U2FsdGVkX18wJtHr6YpTe8QrvMUUdaLZ+JMBNi1OvOQ= # curl -X POST -H 'content-type: application/json' -i -s -d '{"secret": "U2FsdGVkX18wJtHr6YpTe8QrvMUUdaLZ+JMBNi1OvOQ="}' https://ots.fyi/api/create