Better HN
topnewbestaskshowjobs
Log inSign up

reschlukas10

3 karma · joined Aug 30, 2021 (5y ago) · 4 submissions

Submissions

1.

iMessage App to share music links(apps.apple.com ↗)

2 points · by reschlukas10 · 2y ago · 1 comment

comment 3y ago · link · parent

Webex is pretty good

comment 5y ago · link · parent

1. Oh sorry, thanks for the clarification

2. How is the email address encrypted? Why would an attacker need a stored hash? In a database leak situation it's possible to get to the data with only a valid email-password combination or am I missing something ? There is no information from a registered device necessary for the decryption right ?

comment 5y ago · link · parent

I think the idea is great, I'm looking for a E2EE photo service already for a long time.

Although I'm not a security expert, I have some worries about your security concept.

1. When the user wants to change the password, all photos&videos have to be reencrypted and uploaded which is absurd for most people because ~100GB of photo-storage is not an exception these days anymore.

2. When your database is leaked, it is very easy to compare with leaked passwords, putting users with reused passwords in great risk.

My proposal:

Masterkey: Random key encrypted with users password

Device A creates a masterkey and short-living rolling keys. Device B creates private/pub keys. If the user wants to add another device (B), he has to enter the current rolling key (from A). Device B sends its public key to Device A, encrypted with rolling key. Device A sends back masterkey encrypted with Device B public key.

en/decryption-key = masterkey decrypted with users password

With this method a database leak would be much less of a problem and a password change much less painful.