Luzifer / ots

One-Time-Secret sharing platform with a symmetric 256bit AES encryption in the browser
https://ots.fyi
Apache License 2.0
448 stars 69 forks source link

ots-cli authentication support #134

Closed mshedsilegx closed 11 months ago

mshedsilegx commented 11 months ago

our openssl based bash script to do API calls does not work anymore for 1.9.0 (the secret can never be found), so we are testing ots-cli. All is working well, except that we do not see anyway we can authenticate. We use an apache proxy with basic authentication required for: /api/create

curl supported this with no issue via -u "user:password" in the former bash script. Would it be possible to implement basic auth in the ots-cli or any other suggestion ?

Luzifer commented 11 months ago

Aside of the support for authentication added in dec49d7 your scripts should work as before. The API did not change. You of course wouldn't be able to attach files with your existing scripts but they should still work. Kinda out-of-scope for this issue but what's the problem using the existing scripts?