Skip to content
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

Closed
TheFiZi opened this issue Apr 18, 2013 · 2 comments
Closed

API? #43

TheFiZi opened this issue Apr 18, 2013 · 2 comments

Comments

@TheFiZi
Copy link

TheFiZi commented Apr 18, 2013

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.

@kolobus
Copy link
Contributor

kolobus commented Apr 25, 2013

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 :)

@TheFiZi TheFiZi closed this as completed Jun 9, 2014
@marsjaninzmarsa
Copy link

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).
And I wanna do it. 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants