-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API? #43
Comments
Simple API is not possible because you should implement all encryption mess on the client side. Part of the encryption key should never be transferred between client and server. So that will much more depend on client you make - like a bash script or phone app etc. And if you can implement encryption on client side - you don't need zerobin :) |
You have couple JavaScript CLI interpreters, you have SJCL in Python, you have other projects, so yes, it is possible (not such simple but can be done, even in multiple different ways) to do crypto on client side and still need ZeroBen for hosting of your paste. I'll be glad if you can reopen this issue, because I'd wanna work on it in coordination witch Tygs/0bin#14 and authors of Tygs/0bin#39 and #48 (if they wanna to), and check compatibility of implementation in #57 with file upload option in 0bin. I just think, that giving users ability to pasting whatever they like in whatever way they like to whatever ZeroBin-family service they like should be great and 100% compatible with idea of whole project, but it's not possible now (see Tygs/0bin#84). |
Would it be possible to maintain security but offer a simple API for submitting content to a Zerobin deployment and get the secure URL back?
That'd make it really easy to make mobile phone apps and command line tools (Linux) for submitting content.
The text was updated successfully, but these errors were encountered: