News for hackers. Stuff that matters.
Re:Show HN: Zip It – Encryption Anywhere by ToastyMallows on Thursday January 14, 2016 @01:49PM (#10903447)
Is this open source? The JavaScript that encrypts the file (sjcl.js) is minified and I don't feel like spending hours trying to figure out what it does. Is this a JavaScript library that was reused from somewhere?
Re:Show HN: Zip It – Encryption Anywhere by tstiegler on Thursday January 14, 2016 @02:14PM (#10903629)
It's SJCL, a pretty popular JS crypto library.

https://crypto.stanford.edu/sjcl/

Re:Show HN: Zip It – Encryption Anywhere by ToastyMallows on Thursday January 14, 2016 @02:56PM (#10903989)
Nice! Thanks for this.

Having a file encrpyt to an HTML file is pretty interesting, something I've never considered before. Very portable.

Re:Show HN: Zip It – Encryption Anywhere by srpeck on Friday January 15, 2016 @02:50PM (#10911632)
I really like the portability and accessibility of HTML files, especially as very thin local apps.

Here is one of my projects playing with that concept: https://github.com/srpeck/markdowned

Re:Show HN: Zip It – Encryption Anywhere by shmapf on Thursday January 14, 2016 @01:09PM (#10903137)
Is it me or is the page being served over an unencrypted channel a gaping security hole?

I presume it encrypts on the client side, but whats to stop a man in the middle swapping the javascript so it sends the attacker your files?

Re:Show HN: Zip It – Encryption Anywhere by colept on Thursday January 14, 2016 @02:42PM (#10903874)
Yes thank you, I should have taken care of this sooner.

It now force redirects, hats off to CloudFlare for being free SSL provider.

Re:Show HN: Zip It – Encryption Anywhere by elix0rmelt on Thursday January 14, 2016 @01:25PM (#10903277)
Re:Show HN: Zip It – Encryption Anywhere by elix0rmelt on Thursday January 14, 2016 @01:26PM (#10903285)
They should disable the http version.
Re:Show HN: Zip It – Encryption Anywhere by anaran on Thursday January 14, 2016 @04:37PM (#10904704)
Encryption password entry in the clear in a dialog!

That should at least be <input type="password">

Re:Show HN: Zip It – Encryption Anywhere by davidcollantes on Thursday January 14, 2016 @05:54PM (#10905432)
I think it is on purpose, as you are only asked to type it once. Type the wrong thing, and no way to decrypt the file.