Show HN: We built an end-to-end encrypted alternative to Google Photos
1180 pointsOver 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>the receiver just needs a free ente account.
I feel like there should be an even more frictionless option to make it easy for family to access photos. For example, if there were a way to just trigger a mailing list when an album is added to, that would be perfect. “Here is an update on our trip: [link]” I love that you mention you are security and privacy focused, and I see how this could conflict with that mission. Perhaps a tradeoff here could be allowing one viewing via link and future viewings require account?
We can do this if all of the participants are already on ente.
> allowing one viewing via link and future viewings require account
We are hoping to come up with an implementation similar to this where in a link to an album can be shared with N devices. We will persist an accessToken on the viewer's localstorage so that they can re-view the album multiple times without having to sign up.
On the business side, there's plenty of companies that have offered and succeeded with self-hosted software. On the client side, there's many individuals like myself willing to dedicate time, money, and effort to self-host services. I spent quite a bit of time setting up my NAS with self-hosted services, not only because the number of photos and media I store would be prohibitively expensive to host elsewhere (I do photography and videography as a hobby, 120 fps 10 bit footage adds up), but because I enjoy the hobby.
Continue this thread — 1 reply
If you're hosting the service, there's no need for data to be encrypted client-side. Unless, of course, you were intending on running the service on a public cloud which you didn't control, but that's something I don't think many privacy conscious folk would do.
There's plenty of open source, self-hosted alternatives to Google Photos.
Continue this thread — 3 replies
Continue this thread — 5 replies
Most likely, QoS would be better from ente's hosting and I would be inclined to take advantage of that. An open source server can be audited and offer an off-ramp should their service no longer suit me.
Then again, the economics of enabling self-hosted infrastructure are probably less exciting compared to locking users in to marked-up, white-labeled infrastructure.
Having a 'recycle bin' and an ability to see the history of photo deletion, modifications and imports can be useful in tracking down what causes data loss. Also having masters accessible in a simple plain directory is essential in being able to audit that the software is working correctly, can be backed up in a simple manner and if your service goes belly up, is easy to migrate from.
Another issue is bitrot. Your desktop can bitrot modify a photo, and then your photo management software detects this as the 'new version' and destroys the original good version. You have to make sure you mitigate this by storing a hash on import and restoring to the original hashed version.
- All files uploaded to ente are versioned and older versions are available for 60 days from the day you updated them.
- File deletions are performed only as a function of user action. Deleted files are again recoverable for 60 days.
- Two copies of each file are maintained with separate storage providers. Both of these providers offer 11x9 durability.
- For each uploaded file, we compare the number of bytes uploaded from the client to that received on the server and request a reupload in case there is a mismatch (to be replaced with a hash check).
We understand your concerns and will continue to invest in steps that improve data integrity and durability.
All comments shown.
Couldn't load more comments. Check your connection and try again.