Lurker News
Hello HN,

Over the last year we've been building ente[1], a privacy-friendly, easy-to-use alternative to Google Photos. We've so far built Android[2][3], iOS[4], web[5] apps that encrypt your files and back them up in the background. You can access these across your devices, and share them with other ente users, end-to-end encrypted. You can also use our electron app[6] to maintain a local copy of your backed up files.
We've built a fault-tolerant data replication layer that replicates your data to two different storage providers in the EU. We will be providing additional replicas as an addon in the future.
We're relying on libsodium[7] for performing all cryptographic operations. Under the hood it uses XChaCha20 and XSalsa20 for encryption and Argon2 for key derivation.
We have documented our architecture[8] and open-sourced our clients[9].
We did a soft-launch on r/degoogle[10] sometime ago, and have since then ironed out issues and polished the product.
But we are far from where we want to be in terms of features (object and face detection, location clustering, image filters, ...) and user experience. We are hoping to use this post as an opportunity to collect feedback from fellow hackers.
If there's anything we can do better, please let us know, we would like to.
Best,
- Vishnu, Neeraj, Abhinav
[1]: https://ente.io
[2]: https://ente.io/apk
[3]: https://play.google.com/store/apps/details?id=io.ente.photos
[4]: https://apps.apple.com/in/app/ente-photos/id1542026904
[5]: https://web.ente.io
[6]: https://github.com/ente-io/bhari-frame/releases/latest
[7]: https://libsodium.gitbook.io
[8]: https://ente.io/architecture
[9]: https://github.com/ente-io
[10]: https://www.reddit.com/r/degoogle/comments/njatok/we_built_a...

Comments (405) 96 threads

Earlier comments
upofadown#
What is happening here is more properly called client side encryption[1]. End to end encryption is the case where two clients are communicating directly with one another where the identities are established directly between those clients.

[1] https://en.wikipedia.org/wiki/Client-side_encryption

reschlukas101 reply#
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.

vishnumohandas1 reply#
1. A user can change their password without re-encrypting any of the uploaded files. Changing the password only changes the encryptedMasterKey that is stored on the server.

2. Hashes of passwords are not stored at our server, and email addresses are stored encrypted.
You can read more about our key-encryption flow here: https://ente.io/architecture#key-encryption

reschlukas10#
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 ?

d1lanka1 reply#
Neat.

Some UVP / Headlines to split test:
1. Keep your memories yours.
2. Safeguard your memories from prying eyes.
3. Don't let big tech creep on your memories.
4. Keep your memories private.
5. Block creepy algorithms from spying on your life.
I like the dynamic sub headline - perhaps test the following variation on that:
protect your {memories} from creepy algorithms

istingray#
Yes and work this into your pricing / tiers. Charging per GB just turns my photos into data. It's not data to me. It's memories, my life, my eyes.
12ian341 reply#
Love the idea, sounds like a lot of hard work has gone into it already. I have been looking for this kind of thing to replace Google Photos. I checked out the website and couldn't find enough about the app's usability. So, I downloaded the (android) app hoping for some kind of demo or further insight into the UX but it's asking me to sign up or login. I guess I'll sign up anyway because I'm curious, but I'd have preferred a demo of the app first, especially since I really love the UX of Google Photos which is one of the main reasons prolonging my desire to replace it
vishnumohandas#
Hey, we know that we should have a demo video of sorts so that you don't have to sign up to experience the product. It's due to a lack of resources that we don't have one yet. But we will prioritize this. Sorry for the trouble, I hope it's worth it.

Load more comments