HNHacker News
TopNewBestAskShowJobs

aurorabbit

13 karma · joined April 9, 2018

submissionscomments
aurorabbit··on Show HN: html-vault – create self-contained HTML for password protected content
Thanks! I didn't, but maybe I should have. I thought the API of scrypt.js would work well and don't think I came across anything better. I also figure scrypt is plainly better than PBKDF2; being designed from ground up for key lengthening and offering memory hardness. I figure bitcoin ASICs might be repurpose-able to attack PBKDF2; though I'm not sure if that's a threat, and I imagine it mostly somewhat applies to scrypt anyway because of litecoin and friends. If I were more worried I would have researched the default parameters more, I think this is 128- vs 256-bit territory.
aurorabbit··on Show HN: html-vault – create self-contained HTML for password protected content

  :bangbang::penguin::bomb::rabbit2::pig2::black_joker::pray::flashlight::baby_bottle::herb::cookie::arrow_right::loudspeaker::ribbon::ice_cream::fries::link::thought_balloon::1234::rose::point_left::sunglasses::open_hands::game_die::nose::cactus::cake::beetle::musical_keyboard::football::musical_note::point_up_2::ox::dash::no_entry::crown::postal_horn::no_entry::broken_heart::vertical_traffic_light::baby_bottle::ghost::snake::round_pushpin::art::bath::rice::sweat_drops::point_up_2::rocket::postal_horn::gun::traffic_light::tennis::poodle::bath::couple::octopus::maple_leaf::earth_africa::shell::pushpin::rabbit2::sweat_drops::point_right::ghost::hamburger::blue_book::telescope::arrow_right::rooster::purse::beer::flashlight::sob::bride_with_veil::ring::bomb::cupid::pray::bowling: 
The password is the FQDN of hn (without the final .)
aurorabbit··on Show HN: html-vault – create self-contained HTML for password protected content
On the topic of toy web crypto projects, here's mine: https://emojicrypt.com/

It offers scrypt + aes-gcm, encoded into 256 emoji; all the crypto is in https://github.com/aurorabbit/libemojicrypt/blob/master/prot... (I could have went without a subrepo, but in theory it makes non-web integration or alternate interfaces simple.)

It's based off of ricmoo's scrypt.js, pfrazee's base-emoji, and WebCrypto.

Output contains a header (with N/r parameters), salt, IV, and HMAC. Room for a dozen more protocol versions as well.

It's abandoned, looking for a loving home! Work for some new (and some unimplemented) features is laid out here: https://github.com/aurorabbit/emojicrypt.com/issues

aurorabbit··on Reddit DMs will not reach their destination if they contain certain text
I began work on a project for exactly this 2 months ago.

https://aurorabbit.github.io/emojicrypt.com/

It encrypts messages with a passphrase using scrypt, AES-GCM, and sha256 for an HMAC.

Each v1 protocol message includes a salt/iv, scrypt N&r, HMAC, and whether or not to lower-case the password. All messages encrypted with the proof-of-concept will be decrypt-able by all future clients, as there's room for 13 more protocol versions.

The code is in complete disarray, and I wouldn't want anyone to sift through it in it's current state[1], but the proof-of-concept is finished, and life came up, so it's been sitting since.

I have a list of features[2] I want to add in the issues tracker :)

[1] if you do want to sift through it don't miss https://github.com/aurorabbit/libemojicrypt. I separated the repos without following through on that reorganization.

[2] https://github.com/aurorabbit/emojicrypt.com/issues

aurorabbit··on Ask HN: Is WebDav still relevant?
I've used WebDAV successfully for a client's network storage system.

I use Apache2 + SQLite for the authentication, here is an example configuration: https://gist.github.com/aurorabbit/36c509ddeeba2b97c3019534f...

I use buildroot for creating a minimal linux install.

aurorabbit··on Ask HN: Side project you're working on?
emojicrypt.com – encrypt messages into emoji using scrypt and aes-gcm!

https://aurorabbit.github.io/emojicrypt.com/

Unfortunately hackernews doesn't seem to support emoji properly, so I've put my message here:

https://gist.github.com/aurorabbit/fdab58373cb7a57bfc621c2f4...

The passphrase is the Ask HN submission id :)

aurorabbit··on Show HN: Progress Bar OS X. How much % of a year/month/day has passed in menubar
Here is my rendition :)

https://gist.github.com/aurorabbit/7fa0e4d76c97a85f7b0a7318f...

aurorabbit··on Facebook urged to make GDPR its “baseline standard” globally
Woah, that would mean e-Residency in Estonia would be enough for GDPR protections, right?

https://e-resident.gov.ee

Note that becoming one involves going to your embassy in person.