News for hackers. Stuff that matters.
Re:Show HN: Password-Protect My File by michaelt on Wednesday March 05, 2014 @01:30PM (#7348757)
If a user doesn't trust Dropbox, why would they trust passwordprotectmyfile.com?

I know it claims the file doesn't leave your computer, and that might be true right now, but in five minutes if I visit the page the code could have changed. And it would hardly be user-friendly to ask users to check the minified javascript before using it.

Re:Show HN: Password-Protect My File by sobel on Wednesday March 05, 2014 @01:34PM (#7348802)
It's a little clunky, but I do have a process in place for checking that the website matches the code: https://github.com/louissobel/ppmf/blob/master/bin/check_pro...
Re:Show HN: Password-Protect My File by hamburglar on Wednesday March 05, 2014 @11:03PM (#7351789)
If you have to run a local program to verify the code on your web page, why don't you just put the code you are verifying in the local program?
Re:Show HN: Password-Protect My File by rayshan on Wednesday March 05, 2014 @01:24PM (#7348717)
Should really highlight the fact that it could be self-hosted [0]. Typing a password and uploading a sensitive file is never a good idea.

[0] https://github.com/louissobel/ppmf

Re:Show HN: Password-Protect My File by untitaker_ on Wednesday March 05, 2014 @01:33PM (#7348788)
At first sight it seems the encryption is done by client-side javascript, so you don't gain much by hosting it yourself.
Re:Show HN: Password-Protect My File by herge on Wednesday March 05, 2014 @03:13PM (#7349533)
If the javascript comes from your computer (because it's embedded in the page you self-host), how could it get compromised?
Re:Show HN: Password-Protect My File by ToastyMallows on Wednesday March 05, 2014 @01:45PM (#7348881)
Nothing is uploaded, it can run offline once the page is loaded.
Re:Show HN: Password-Protect My File by chrisfarms on Wednesday March 05, 2014 @01:27PM (#7348736)
As soon as my file is readable by javascript it could be sent anywhere by your code. I'm not saying you do, but it could. Therefore this adds an unnecessary risk. I would have to disconnect my machine from the network and clear all the browser storage before reconnecting to even begin to think this was safe.

Just to be clear: I'm not saying it's useless, just that if the file I was encrypting was so important that I needed to encrypt it, doing it in a sandbox that is directly connected to an untrusted third-party wouldn't be a very bright move.

Re:Show HN: Password-Protect My File by sobel on Wednesday March 05, 2014 @01:38PM (#7348834)
It's all in one html file, so it will work disconnected from the internet. Download or save the page, turn off your internet, open it in a browser, and encrypt with peace of mind (although the javascript could still use off-line storage and then next time you're online on the page access it, I guess).
Re:Show HN: Password-Protect My File by herge on Wednesday March 05, 2014 @02:21PM (#7349133)
I really like this. Especially the self-contained html file you send around afterwards.

You should recommend people to download the html and then save it instead of using the page itself. Maybe make a big download button. Also, remove google analytics from the self-contained version, that way the page should never download/upload anything from the network.

Re:Show HN: Password-Protect My File by chrisxcross on Wednesday March 05, 2014 @02:10PM (#7349044)
It's the same as using openssl aes-256-cbc -in plaintext -out ciphertext That's as easy and convenient as it can get for me. But it might be helpful if I have to send an encrypted file to someone not able to use openssl or gpg. It's pretty cool to combine an encrypted file with the tools needed to decrypt it :)
Re:Show HN: Password-Protect My File by 55873445216111 on Wednesday March 05, 2014 @01:11PM (#7348601)
How is this better than symmetric encryption with GnuPG?
Re:Show HN: Password-Protect My File by dav- on Wednesday March 05, 2014 @01:22PM (#7348697)
Does it claim to be better? The main advantage I can see is simplicity, even non-technical users should be able to figure it out.
Re:Show HN: Password-Protect My File by sobel on Wednesday March 05, 2014 @01:22PM (#7348695)
The encrypted result of this tool contains all the code necessary to decrypt itself (in a web browser).

I'm not too familiar with GnuPG, so I don't know if that's different.

Re:Show HN: Password-Protect My File by cbhl on Wednesday March 05, 2014 @01:38PM (#7348833)
I'm reminded of those self-decrypting .exe archives that WinZip used to produce back in the day...
Re:Show HN: Password-Protect My File by selter01 on Wednesday March 05, 2014 @01:25PM (#7348723)
Any browser?
Re:Show HN: Password-Protect My File by sobel on Wednesday March 05, 2014 @01:30PM (#7348761)
Tested and working with recent Chrome, Firefox, Opera, Safari 6.1+, IE 10+. https://www.passwordprotectmyfile.com/faq.

It uses, among others, the Blob API so will not work on older browsers.

Re:Show HN: Password-Protect My File by herge on Wednesday March 05, 2014 @02:25PM (#7349163)
You can download this safely from windows. GnuPG doesn't have a valid ssl certificate (https://www.gnupg.org).