Re:Ask HN: How can I improve my note-taking web app?
by obblekk on Saturday February 08, 2014 @05:54PM
(#7203214)
I'm curious, how do you securely implement client side encryption?
Re:Ask HN: How can I improve my note-taking web app?
by yoha on Saturday February 08, 2014 @05:57PM
(#7203224)
Just like ZeroBin [1] does: verifiable Javascript file uploaded to client. It is far from perfect, but at least some control of what is sent to the server is given to the client.
Re:Ask HN: How can I improve my note-taking web app?
by altero on Saturday February 08, 2014 @05:57PM
(#7203225)
Add encryption key to URL after hash tag. This is not send to webserver, but can be decripted by js. You can not read text without full URL
Re:Ask HN: How can I improve my note-taking web app?
by napoleond on Saturday February 08, 2014 @06:56PM
(#7203482)
But the Javascript that's doing the encryption comes from the same server that you're trying to hide the data from. Browser crypto does not work.
Re:Ask HN: How can I improve my note-taking web app?
by drjake on Saturday February 08, 2014 @05:58PM
(#7203239)
Currently, this isn't implemented.
Re:Ask HN: How can I improve my note-taking web app?
by drjake on Saturday February 08, 2014 @05:57PM
(#7203227)
Thanks! Could you explain what you mean by using direct links?
Re:Ask HN: How can I improve my note-taking web app?
by yoha on Saturday February 08, 2014 @06:03PM
(#7203259)
Look at [1]. They suggest using this:
<a href="https://twitter.com/share" class="twitter-share-button" data-lang="en">Tweet</a>
I guess it relies on the HTTP referer field. You can do more resilient by adding parameters to the query string (look at the table at the third of the webpage).
It means that the user gets redirected to the website with pre-filled forms. It avoids loading additional Javascript.
Remove as much third party JS as possible (use direct links instead). Seven different domains is way too much.
Do you use (client-side) encryption for ensuring privacy?
Otherwise, I like the almost (share buttons) minimal design.