1180 points · by vishnumohandas · 5y ago · 405 comments
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...
There are also a lot of valid concerns in these comments about privacy and use of algorithms. A lot of it depends on what you’re looking to gain by adopting a new service/switching away from something else and individual concern.
Personally, I’m looking for a place to store personal photos: friends, family, travel etc. Critical needs - easy sharing ideally not locked into Apple’s ecosystem - not to have my photos mined for advertising and social graph data (most important) - ideally around for the long haul but in my mind this is for sharing, not backup
I’m not particularly concerned about warrants, government surveillance etc. Again for me this is about sharing so the expectation of true privacy is low. Any photos I considered sensitive I would store elsewhere.
For me, the biggest point of confidence I have in this project is that they charge money from day 1 and don’t have a forever free plan. I’m excited about projects that offer the benefits of “social” but where the software, not my data, is the product.
"Privacy is necessary for an open society in the electronic age. Privacy is not secrecy. A private matter is something one doesn't want the whole world to know, but a secret matter is something one doesn't want anybody to know. Privacy is the power to selectively reveal oneself to the world."
[edit] as I'm rethinking it, would this just be for searching your own images for a particular person...?
My Synology NAS has face recognition and it is wonderful even if (actually: especially since) it has no pre-existing database and doesn't (to the best of my knowledge) share its database.
For someone like me who manages family photos for the entire family but isn't to good at recognizing faces it is just brilliant.
Google photos has come in so clutch when you're searching through 50k photos.
You will be waiting a long long time for that.
The only way they can do that is client side, and if they go there we are back to the last few weeks discussion of Apple's new client side image scanning shit.
You do not want this service, it seems.
You want a non Google service who can do face recognition, and object/scene detection, but who'll pinky promise you they won't sell you out to advertisers or law enforcement or governments, even though they obviously could.
Apple has always been indexing images on the client side. What changed is that they're now reporting the presence of a predetermined set of hashes to authorities.
If governments were to mandate that such reporting is necessary, it is likely that the enforcement will be on a device/OS level, extending the example set by Apple. Demanding compliance from every single cloud storage provider out there (E2EE or not) would be a sub optimal route for them to take.
My point being, "client side indexing" is not the evil here, and it is unlikely that storage providers will be the ones forced to share data. Your concerns should probably be directed at your operating system.
What iCloud Photos is doing for their client-side scanning is: (1) Not to your benefit. There is no positive outcome for you from your photos being scanned. (2) Mandatory if you want to use iCloud Photos.
In contrast, I presume this would be- (1) Only to your benefit, because all of this derived metadata around scenes and faces would also be encrypted end-to-end as part of the photo library. (2) Entirely optional.
Increasingly powerful GPU compute being released and constantly improving image recognition models out in the wild. I'd bet there's a nicely packaged, open source solution released in under 3 years.
Commercially, Apple and Google are both 2TB for 10 CHF and Amazon gives you unlimited as part of a Prime membership. Storage providers like Backblaze and Wasabi both charge around $5/TB and that's really the table-stakes price. For the more DIY-inclined, Hetzner sells a 2TB OwnCloud instance for 9.90€/month.
I'd prefer to buy software from you than storage. It's out of the question for me to pay you per TB but I'd consider paying a flat rate for software I then host myself.
What we do not need is more cloud offerings that can change, vanish or lock us out at the blink of an algorithm's eye.
What we need, rather, are reliable and easy-to-use solutions that allow us to retain full control of our data (i.e. self-hosted and offline) while having feature parity with the big cloud-only solutions.
I for one am convinced that there is plenty of money to be made that way. Perhaps not as much on autopilot as with the quasi-scam that is cloud computing, but people willingly paid hundreds or thousands for software before clouds and subscriptions. People will do so again, if you bring a convincing, unique or competitive product to market.
That being said, I like, appreciate and support this project for its impetus, even though I think its distribution strategy is misguided and fad-driven (re-selling cloud space instead of selling software). It's not too late to change that...
We don't have a problem with offering a self-hosted variant. But given our limited engineering bandwidth we had to take a call on who our target market should be, and we felt that it was more important to make privacy accessible to people like my mom and dad. Hence this direction.
Spot on. We iterated on a similar product in this space: "privacy preserving", "self-hosted", "open source" etc. But focused on local AI indexing & search of personal videos and photos [0], rather than backups.
We ultimately shelved VideoNinja because we weren't able to find a sustainable business angle:
* Non-technical people simply don't care (happy locked into Apple / Google).
* Technical people understood the proposition, but are super stingy. Case in point, see the responses in this very thread: "$10 per year max; I can buy a HDD for less!". That's one (cheap) restaurant meal per year.
So I fully understand your decision to go "cloud". Although that immediately takes your product off the table for me personally. I want nothing of mine (of value) in the cloud.
I feel there must be a way to square that circle, the market exists.
I suspect the way it usually happens is that somebody your parents trust (like you) tells them to sign up for a privacy-preserving backup service.
But who's going to tell them to do that? Do you have the money to pay for advertising?
Normally, I'd suspect it's the tech-savvy younger folks who'd tell them to buy something like this but with your pricing and lack of self-hosted options, I suspect you've alienated a large portion of the tech-savvy audience you need to advocate for your product.
They also used dark pattern on Android for years by enabling cloud sync by default for everything. So a lot of people got all their photos uploaded while they had no idea about feature.
So it's not any different from Facebook that constantly tried to collect as much data on you as possible. Do you know what is evil about facebook?
That is utterly unacceptable.
$300/year for 2TB isn't happening. I can buy a 12TB HDD for less, if I shop around.
I'd like a service like this to keep small, well-compressed 1080p or 4k photos available for instant access, and original files in archival storage of some kind.
I'm totally glad to pay the $10/year for the baseline service, and another $12 for deep glacier costs. I'm not glad to pay thousands of dollars for a service like this over the lifetime of my photos. I'm not quite sure where the line between that is.
I'll also mention: open-source, data export, and the option of self-hosting is helpful. I don't want to spin up an EC2 instance for this when I can buy $12, but if you go out-of-business, I'd like to have the option. Could also be an option you only guarantee if the service is discontinued or has substantially different costs/terms.
You can pay even less to store that data in /dev/null. To make a more realistic comparison you should also include data retrieval & data transfer costs. Reading a terabyte from those services costs around $100.
Rolling your own on top of a cloud storage provider is great too but for an incremental $100-$200/year some people would pay for something that “just works”.
In a perfect scenario I could generate my own private key to plug into my client devices and just have everything push to private S3 (and then from there archive to the cheapest, coldest glacier tier after it’s been synced to my home storage).
This to me would not be that complicated to build, but would essentially provide E2E Photostream and a backup of last resort in the cloud.
Obviously (as is the problem with all FOSS) you have the dilemma of how do the developers get paid, which I’m sure is why you went down this yet-another-paid-cloud-provider route instead of what I’ve suggested above.
All that said - I like what you’re trying to build, I could see it being useful to some, but providing E2E photo storage as a direct-to-consumer service is IMHO just asking to be held liable later for what your users store there should you gain any considerable traction.
I would love to see a FOSS version of ente available for me to host. My family is currently split amongst multiple photo library services and it'd be nice to say "Here's ours."
https://redbeardlab.com/2021/08/03/my-syncthing-setup-cheap-...
The nice thing is that S3QL allows setting a secret key, so your files just get encrypted before to be pushed on the cloud.
Both Apple Photos and Google Photos:
1. have easy search by location on a map of the world.
2. allow browsing to any date in an instant.
3. index photos by objects/faces and allow for instant searching - Apple even does it on-device.
Also, frankly, I don't trust you to stay around for long, so I would appreciate the option to store encrypted photos on a cloud of my choosing that I already pay for, with a separate subscription for using your app. Not sure what the Venn diagram of <cares about privacy>, <willing to pay for your storage>, <needs excellent browsing experience> looks like.
Looking forward to an app which works for people with large libraries. :)
As for possible bankruptcy, you can never be too certain, but it’s easier to stay in business with Indian costs of living than US. (The company is located in India.)
While it does have some kinks it's surprisingly good and has the features you are looking for in a locally hosted/publicly available option. You do have to buy one of their NAS's however.
I have moved over to this partly for privacy and partly due to cost (I produce way too many photos per year to store them economically at Google)
[1] fyi this is the reasonably 'new' instantiation as linked to here, they EOL'd the very old, different app of the same name from their v old NAS's. Adding that here in case anyone has or buys an old NAS, you may get the old version of the app - I think you need a NAS with a decent processor to perform the face detection etc.
Maybe costs of SSDs are coming down enough you could use those instead?
For the non nerd friends, managing your own cloud space is mostly a non starter although. The best choice is cloud storage managed by the provider as an option, along with the self hosted option.
Whatever the past is, I believe there's a new market in 2021 for Apple-switchers that will unleash new funds for companies like yours. De-Google movement will pale in comparison to this in terms of economics. Looking into signing up just on principle. Non-E2EE encrypted, closed source, without ability to self host is a dead end, why put a penny more towards it. Open source options may suck today but it's the only path forward. Thank you for what you do - whether your company succeeds or simply inspires 1,000 new companies in its place.
What are your plans for Linux support? Your site only mentions Android and iOS, I see electron mentioned, but again I'm one of these Apple switchers, I have no idea what I'm doing really but I'm willing to pay for solutions.
Take my money!!!
They’d be better off focusing on making a better user experience instead of E2EE drama.
Indeed, this is why you would be foolish to use Ente as you cannot self host it. At any point they can choose to lock things down, make their clients closed source, etc etc, and you'd once again need to spend time jumping ship because you'd need to find a new ecosystem.
Ente is just convient and is coming at the right time (hence the massive amount of upvotes) but does not give you total control nor your freedom back. Using them instead of something you can self host is just running in circles.
> open source may suck...
What? This was extremely random and out of place with the rest of your comment.
What you really want, if you care about self hosting and all the other stuff you mentioned, is Nextcloud[0]. And if you don't want to self host yet, you'd be better off hosting Nextcloud in a VPS, even on Linode you can just 1 click deploy a Nextcloud instance in their app store[1]. That way you don't become dependent on a service you cannot control/deploy yourself.
[0] https://github.com/nextcloud [1] https://www.linode.com/marketplace/apps/linode/nextcloud/
I'm a big user of open source solutions, I use Linux on my machine and use syncthing to sync files across all my devices. I'm aware that my solution is not doable for everyone and that's the problem with most open source solutions, the lack of polish/ease of use. There are tons of systems that aren't open source that we are forced to rely upon for day to day, airplane software, traffic lights, telecommunications) and we've just accepted it because of convenience and trust.
What I'm trying to say is that we don't have to worry about self-hosting everything and force ourselves to only use open source tools. I do think that if we do use private tools, we should understand how our data can be exported to a new system if necessary so we're not "locked in".
> What? This was extremely random and out of place with the rest of your comment.
Edited to say "open source options may suck today"
Thanks for giving me the chance to explain. My comment here may give more context: https://news.ycombinator.com/item?id=28321460
I've tried NextCloud, even 1-click hosted by a third party. For all the power, it's not built with me in mind, it seems to treat my photos like files/data, not like photos. I want to pay money for that extra oomph, for algorithms, searchability (about $10/month for my photos seems about right), and I want to pay money so I don't have to pay with my time. Is there something I can buy that's on top of NextCloud?
After experiencing the ease of Google photos, any basic file management system to store photos is a downgrade after that.
If ente can figure out how to do the extras (search, face matching) without invading privacy (not even sure how possible this is) I can see this being valuable to the people who want to de-google and maybe even de-apple.
Fairo
> on top of NextCloud
Not that I know of. Could have a look through the nextcloud marketplace for something or another. Tbh, I don't see any open platforms having Google/Apple photos kind of functionality for at least a little bit. Google and Apple trained their algorithms on the people using their free tiers for years. Google especially had access to so much information on the user using Google Photos that it was able to build the algorithms it has today. For an open platform to have this functionality, it would need to wait for an open source model/algorithm to exist, else it would need to build it itself by using user data (no E2EE then).
Unless Google open sourced whatever models it uses in Google Photos today, don't expect this level of searchability yet. Actually even if Google did, it would probably be so tied to Google user information and be incompatible with E2EE.
If you're on Linux you can either use our web app[1] or our desktop app[2]. The latter is just the former wrapped in electron, but with the ability to sync uploaded files to your local disk drive.
[1]: https://web.ente.io
Been duped too many times.
I considered writing my own software and making it open source, but then realized that photo hosting/sharing software with password-protected sharing features will be used by criminals to store/share CSAM. So, if I end up writing my own solution, it will sadly not be shared with anyone.
Incidentally, I think this service will run into a similar problem: end-to-end encryption is great, but if it gets to a certain size, governments will intervene.
Now, Ente could still change its web application to somehow leak the master key and not disclose the changes in the source repo. One solution for this vulnerability is to package the entire web client as a browser extension, which is what Mega is doing:
Links and data tranfers can be traced.
Warrants and suponeas can make such traces / actions legal.
EDIT:
I think have an idea! Add the S3/OneDrive/Etc support but comment it out. To make use of it one would have to download the source, XCode, compile it, and deploy it. This puts a cap on the number of people who can do that, so you won't end up with everyone getting a free copy. Those people who are able to do it are likely to be asked for advice by their less techy friend, so this is basically free software to key influencers.... Ok, so this does not sound as exciting as it did before I started typing, but maybe this will lead to something...
This is what happened with Emby (a media server like Plex). The backend was open source and there was a license to activate premium features. Somebody cloned it, and then released the premium features to everyone for free.
Our API server runs the following
- authentication
- replication
- differential sync
- and a few more errands that are necessary for the apps to function
The solution to this would be to offer a self-hosted variant where you can plug in your S3 credentials. But like I mentioned else where in this thread, maintaining such a project comes with an overhead we cannot afford right now. Hopefully sometime in the future we will be able to afford the necessary engineering bandwidth.
I would also pay upfront, e.g. kickstarter
Needless to say, years later, I am still building it. For one guy doing this on my own time, it's a lift. Maybe after I quit my job soon :)
The idea is that the "engine" is going to be open-source, but the UI would be free and proprietary (you would be able to bolt on your own UI).
Once the UI is presentable to a point where I can actually test the engine against it, it would be ready for collaboration. But again, it's been a rough stop and go. No wonder something like this does not exist.
To be accurate, this is not a photo management project, it's a full on DAM. But I am doing photos first. Could end up being less ambitious at first, however. Even the baseline is a massive project.
>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.
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.
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.
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.
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.
You also didn't set a single tracking cookie. Nice.
The algorithms are what makes Google Photos; Google Photos. If I wanted to just store my photos I'd throw them in a S3 bucket or Dropbox or something.
Google Photos lets me automatically categorise my photos by person, lets me search my library using text search for anything (e.g. I can search 'museum' and see pictures I've taken in museums). That is where the real value of Google Photos comes into play.
> 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.
So you're going to implement algorithms then?
Yes, we will implement the algorithms, purely on the client side, such that we don't hold indexes to your personal data.
But I understand how that piece of text could have thrown you off, I'll think of ways to rephrase it. Thanks for pointing it out.
In the happy path the files/thumbnails are indexed before they are uploaded. But we are designing a framework that will pull files/thumbnails for indexing if they are unindexed or indexed by older models.
> how do you do this in a privacy preserving way
Our accuracy will not match that offered by services who index your data on their servers. But there's a trade off between user experience and privacy here, and we are hopeful that ente will be a viable option for an audience who is willing to sacrifice a bit of one for a lot of the other.
And if I need to have other kind of client... like a nas to do that... Why I need the cloud?
Indexing will be opt-in. You will be able to run the indexing only on your desktop client for instance.
> Why I need the cloud?
So that you don't have to manage your own storage infrastructure? But if you would like to do that, then there are self-hosted alternatives that will better serve your use case.
Apple used to sell this. Then they stopped.
I can see myself paying for such software if it was mature enough.
But I don't want my GPU burning away running them when they could run much more efficiently and out of mind in the cloud.
Now that you've mentioned it, yes, I'd like to try that. But as a counterpoint to your argument, I've never needed it, and I suspect that a lot of people may not actually be getting the same value propositions that you're getting.
On the other hand, Google Photos is Google Photos. But it's often a mistake to compete directly with an established product. New ideas tend to win by transcending the competition.
I propose that if this Show HN turns into a product, it will be because it does something people didn't realize they wanted. Maybe that's privacy. I don't know.
There are annoying limitations though, probably because the original team moved on and it's in maintenance stage. Using my example above, google photos has no idea what the "outer banks" are (which is where the beach photos were taken in north carolina) and returns no results. It also has trouble parsing out entities from search terms, so "north carolina beach maggie" isn't going to find pictures of Maggie on the beach in North Carolina (which you'd think they could really fix given that, well, they're google). Finally, there's no way (that I know of) to jump from search results to your full timeline; let's say that "north carolina beach" gets me a bunch of beach pictures from January 2015 (yeah, it was cold), but doesn't have _the_ picture from the trip that I know I want - there's no direct way to click to January 2015 from the results, which really sucks. (Instead you have to go back out of results and use their fiddly scroll to get there.)
Instead of natural language search, where I have no idea whether it understood me, I wish I could do (modifying your example):
"North Carolina" "Maggie Thomson" "Tom Morgan" -beach 2018
for all photos in NC, with Maggie and Tom, not in a beach from 2018
and even better, if it could tell me the number of results that would show up if we removed each keyword above.
I guess it's a tough problem, even for Google :(
It's amusing how people's insights can turn myopic. Search in photos is the killer feature, and it even solves the problem that you have.
If you realize that you need to see photos from January 2015, don't try to scroll back in your photos feed. Just do a second search for "January 2015".
For me the killer feature of Google photos are: - Free storage of photos (hence why I'll move after I run out of free space) - Tagging faces - Sharing albums
And it's not just dogs. Specific people, locations (before I turned of geotagging on my photos), scenery (mountains, outdoors), etc.
Sometimes this search is nice, but it's not good enough that I can really rely on it.
This is untrue, and actually one of the reasons I hope a strong competitor to Google Photos comes along soon. The search function is, for whatever reason, heavily censored and perhaps even biased in some circumstances. Worse, it is completely useless. For example, the query "fat" returns nothing, despite the fact that my gallery is filled with drawing reference photos that includes plus-sized people. "Black people" returns photos of non-black people, and (infamously, and perhaps for related reasons re: the shortcomings of Google's image recognition and tagging algorithm) "gorilla" returns 0 results. "Red shirt" returns an image of a blue decorative screen; "comic" returns anime and webpage screenshots; "woman" returns multiple photos consisting entirely of groups of men.
The situation is dire.
I have an album shared with my parents which photos of my daughter are automatically added to.
I have an album shared with my daughter which photos of our dog is automatically added to.
I also like the collages, slideshows, movies and this day x years ago photos which Google Photos automatically creates and notifies me of.
I'm excited to review this project. Thanks to the creators.
This has come at a perfect moment ... as, this weekend, I'm literally downloading my entire Google photos archive (one year at a time) to my local harddrive and figuring out a way forward.
I'm done with Google after a 'straw breaking the camels back' moment with their payment system.
* it's free and comes by default with an Android phone.
* it just works.
If you can make an effortless way to get online backups of my photos at a reasonable price while regaining privacy, then I'll switch in a heartbeat without a single thought about any of those ML-based moat features Google has crammed in their service.
I want automatic backup, easy sharing, and accessibility from all devices.
Simple and reliable backup and reasonably speedy browsing is what I need.
Neither of those give you any privacy unless you do the encryption yourself in which case you have to build something to access them unencrypted. Have you checked out what the service actually does?
Jeesh, that's easy.
You encrypt the algorithms too.
Edit: I think it's similar to "being"
Also, I've a thing for rubber ducks.
Also, the domain was available. :)
[1]: https://github.com/nextcloud
[2]: https://github.com/Piwigo with S3 extension: https://piwigo.org/ext/extension_view.php?eid=691
[3]: others https://arstechnica.com/gadgets/2021/06/the-big-alternatives-to-google-photos-showdown/ which mentions the most feature packed to be https://photoprism.app/All private, you configure usernames and passwords. The ongoing cost is just that of S3 standard / infrequent-access storage, which for my collection of ~50GB is currently costing me about ~$1/month. In terms of the auto-generated gallery (lambda function that traverses an S3 bucket) and the password-protection (CloudFront Origin Access Identity), you're locked in to AWS. But in terms of the data, you by definition have all the files in a simple folder tree on your local disk too, you can back it up wherever else you want, you can migrate it elsewhere quite easily. And AWSPics itself is open-source.
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.
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
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 ?
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
You will have an easy way to download all of your data, and we will notify you multiple times to do so before the deletion actually happens.
I really love the privacy oriented aspect of this service though and I would really like to share one less thing with google. I've always been concerned about being blocked out of my google accounts and losing my photos.
What I see is a market for an Instagram replacement that is:
- not about filters or effects
- has flexible sharing settings (e.g. you can opt-in to looser privacy on a per-photo basis) that default to 'private'
- solves the storage and encryption of my photo library without me even having to understand it
That last item is a feature, not a product (but could provide an amazing moat around the product).
At $14.99 /mo for a 1TB storage or even the discounted Indian pricing of ₹999 /mo; I would put it at a high price point for a Photo Service/Tool.
Just a thought. I'd priced it similar to Google Photos but sell the encrypted/privacy part as a prominent feature.
Electron is pretty cool, but it doesn’t seem compatible with anything related to security or encryption.
Recall Origami which stated to do same and then they got a qui-killed before they could even launch?
I haven't used any online photo storage place for years because I dont trust them, but that's also a lame excuse because I have yet to be able to extricate Google from my life, which is a smoldering desire in the back of my head..
But I feel like any of these photo upstarts are going to be short lived.
I'd be happy to pay $60 for the app, and then pay some fee/month for storage space, dedupe etc...
What might be cool for an organization option would be a shared library of assets such that dev's and artists can manage a library of digital assets across teams and projects and integrate with ssomethingnlike slack..
Also, the website looks absolutely great!
Also have a question about the pricing. I’m happy to pay at the current tiers, especially to help getting y’all bootstrapped. But I’m curious if reducing the pricing will be an objective for you as you scale? I’m not sure I see myself maintaining the current expense indefinitely or it making it easy to recommend to less technical friends/family.
Other than that, I think you've got a really seriously good product here. libsodium + XChaCha20 is really really good in terms of encryption technology. You've picked all of the right things! Well done :)
Thank you for the feedback! :)
Respect btw for being one tech startup that finally has an address on their website.
"Encrypted backups for your photos and videos"
But you show apps with images that for me implies that I can you an application you provide to look at the photos that are stored?
I dont think of Google Photo as my backup, though I presume it is that as well, but as a way to look at photos, organize them, do some quick editing, and show the same photo collection on all my devices.
Is this mostly pure backup?
Is there a means to search for photos per keyword, location, or any other meta data.
If I wish to export all photos with the keyword "Good dog" can I do that?
If so what all meta data is stored and can I adjust what I want to be revealed or not?
A shared recoveryKey can be revoked and a new one generated if necessary. (We don't have a hook for this on the UI yet, but our system is designed to support a key rotation).
I guess this means that your family already has access to your decryption keys and the Lastpass servers are merely restricting access to the encrypted data for the 30 day time period.
We understand and parse the metadata files Google generates and support resumable uploads.
Pretty happy with it.
Can you recover the data in case of a loss without seeing the data?
Good project, really well done, browsing the GitHub a bit.
The data is encrypted once it leaves your device.
Not sure what you mean by a data "loss" here. If it's about the customer losing access to their password, as long as they have access to their recoveryKey, they will be able to sign in and change their password. If it's about something else, please let me know.
naturally this is off-putting to most normal people. any plans to implement a social-recovery system like we see in the ethereum world?
if i can share photos with friends, i should be able to use those friends to recover my account too.
How does one migrate to this from Google photos?
How does one share across the family?
Is it possible to have a local backup (e.g. on my desktop) in case something goes wrong?
What are plans for features beyond just storing photos (categorizing, tagging, labelling, albums, comments/notes, geotags, stories, etc.)?
What's the pricing?
You can export your data from takeout.google.com, and drag and drop the output folder into web.ente.io.
> How does one share across the family?
Currently we don't have family plans yet. Existing customers are sharing the same account with their partners. This is on our roadmap and we will ship it soon.
> Is it possible to have a local backup?
Our desktop app[1] has an option to sync your uploaded data to a local disk drive.
> categorizing, tagging, labelling, albums, comments/notes, geotags, stories.
We already have albums and stories. All the other features you mentioned apart from "comments/notes" were already on our roadmap. I've just added "comments/notes" too to it[2].
> What's the pricing?
[1]: https://github.com/ente-io/bhari-frame/releases/latest
[2]: https://roadmap.ente.io/ability-to-add-commentsnotes-to-a-ph...
a) I note the pricing is somewhat higher than Google/Dropbox, which is fair. But is there a way to compress the media (esp. videos) before uploading it to conserve some storage? (I wish when Google still had unlimited 'high quality', it was possible to store photos in original and video in hi quality).
b) is there a way to detect duplicate photos, including of lesser quality, and only store the higher quality version? (E.g. photo comes from original device but also in a WhatsApp image folder because it was shared).
c) assuming search is on the roadmap based on feature detection, are there ways to find photos based on date/uploading device/camera/geolocation?
a) https://roadmap.ente.io/option-to-compress-photos-to-use-les...
b) https://roadmap.ente.io/deduplicate-files-p-1165/
c) https://roadmap.ente.io/search-by-metadata-and-exif-p-2487/
We will be shipping all of them.
- when registering via the Android application I got no 1Password prompt to fill in the fields; this is usually the case with other applications - there doesn't seem to be an option to back-up single photos, only whole directories; why is this?
Regarding the lack of option for backing up individual files, currently that option exists only on iOS since the OS provides users with an option to grant permission to a few files instead of their entire gallery.
There are two ways to work around this on Android right now:
1. Share a file from outside the app to ente.
2. Skip the folder selection, choose the file you want to backup from your device folder, and add it to an album (you will be prompted to create an album if none exist).
These weren't the sole reason however. There's a lot of literature on the security aspects of XChaCha20, some of which I'll link below:
- https://soatok.blog/2020/07/12/comparison-of-symmetric-encry... (in our case your masterKey is used to sign all your fileKeys)
- https://crypto.stackexchange.com/a/34458
- https://nordpass.com/features/xchacha20-encryption/#why%20No...
- https://blog.cloudflare.com/do-the-chacha-better-mobile-perf...
ChaCha is streaming cipher, which is meant to be used on transmission phase, not on data-on-rest(DARE). That is significant difference. In this case, you are implementing Photo storage service, where data is laying mostly on your servers, and not disappearing after the transmission. What is the threat model?
In general, streaming ciphers are considered as weaker alternatives for DARE ciphers. The main risk lies on nonce. In service like this, you are using long-term key. xChaCha provides 192-bit nonce. How likely you are generating identical nonces?
Well. In this case, it might be that this streaming cipher is safe. 192-bit nonce is quite big number.
For example AES-GCM with 96-bit nonce has max message amount of 2^32 when used deterministically [1]
In theory, the AES alternative is much weaker than your current implementation.
[1]: https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=51288...
I would feel a lot more comfortable with this if it didn't collect any data of mine, and you were just storing ciphertext.
I don't want an account, and I don't want to give you my name or email.
I can't imagine how that information could be used to stop an attack that otherwise would succeed. Is this just so that you can say "Your last login was from Safari on an iPhone" to the user to reassure them their password hasn't been stolen (or the attacker has correctly guessed the most popular browser on the most popular platform)?
If so, this seems like a string that could be generated client-side, and stored encrypted on your server, so that you never have to log this data in plaintext.
But your point is valid. Just the operating system and app version is enough to derive this information. We will make this change and update our privacy policy.
Thanks for bringing this up!
If I have to trust you with my information, you didn't need to bother with the crypto stuff.
Guys if you need to hide sensitive information while screen sharing or video recording, check this https://blurdata.net/
Is there a local backup? (Say, in the pessimistic case of Ente going down for any reason.)
We do have a local backup tool that will sync your uploaded files to a local folder: https://github.com/ente-io/bhari-frame/releases/latest
And is it possible to show publicly selected galleries/photos? I see only on per-person basis via email.
Right now I have an inconsistent combination of Dropbox (mostly archive), Zenfolio (public), and FB (some public) - and I am looking for a better solution (aesthetic & long lasting).
Coming back to Flutter, I personally have high hopes for the framework. The learning curve is one of the smallest I've experienced and they have managed to create a community that actively contributes to their plug-in ecosystem.
Which ones did you choose and why?
Scaleway because of their cold storage offering in a fallout shelter underground that reduces the risk of natural disasters.
1. Does ente.io intend to remain bootstrapped or seek funding (tiny-vc, crowd, crypto, public)?
2. Is the founding team in it for long term; serious about sustaining this business in face of capable incumbents (some upcoming ones https://news.ycombinator.com/item?id=27338008, some established ones like nextcloud.com, getkeepsafe.com) and competent competition (EteSync)?
---
A couple around the app:
1. What are the guarantees around backups / data loss across updates, device changes, account turnovers due to password-loss etc
2. If the founding team is thinking ahead, do they plan to build other such alt-apps too?
3. What's the server-side object store, if okay revealing that: StackPath? Scaleway? Wasabi?
4. How does ente.io handle file versioning, race conditions (file created and deleted with same names across different devices, as one example)?
5. How does ente.io handle abuse? Using ente.io for nefarious purposes such as CSAM, as one example.
---
A couple around cryptography (since you emphasize e2ee I took a glance at the architecture doc):
1. To my untrained eye, a lot of crypto cited in the architecture document reads like it was hand-rolled. There exists RFCs that cover recovery for usecases involving public-key crypto (PGP is hard for a reason), but yours is "cross-encrypt master-key with recovery-key and vice versa..." which does not inspire any sort of confidence in me. Besides, the wrapped keys stored on servers are sent to clients without any checks and hence subject to brute-force attacks. Are you sure of what you have designed isn't weak? ente.io sets out to be tarsnap but looks far from it.
2. Another thing that sticks out is the custom "encrypted authentication flow"...
3. How do I rotate the master key, collection keys, file keys etc in case my password is compromised? Sounds like a lot of work given the current architecture?
I see that the doc has been "peer reviewed" by 5+ engs, but any cryptographers in there?
---
A couple around ToS:
1. ToS states that ente.io may store documents even post-deletion by the customer. Why not delete it right away? That's a security risk?
2. If you suspend access to an account (since ente.io retains the right to do so), what policies govern data-takeout?
Thanks. All the best.
1. We did apply to YC a few months ago, but was rejected in the interviews because they felt that the total addressable market was low. We don't know if other VCs will feel differently and we haven't applied anywhere else since. Perhaps paid subscriptions is in a way public funding? :)
2. The rate at which photos are being taken (a trillion a year), we believe that the market is large enough for multiple players. Also none of the existing solutions provide a user experience that we are happy with, so we would like to keep building until we have something that works for us (at least). Also it helps that we are not very motivated by money. As long as we get to build useful things while being able to sustain our lifestyles, we will be content.
--
App:
1. We have been advised by our lawyers to provide no such guarantees. All I can say is that we follow the best engineering practices to make sure that possibility of a data loss/corruption is minimal. And in the unfortunate case that it does happen, we have strategies in place to minimize the damage by applying rollbacks and triggering re-syncs from clients. We will be transparent about any such event.
2. Our infrastructure is agnostic to the data type. Once we have reasonably polished the photos product, we would like to venture into other spaces where E2EE storage + sync is useful.
3. We use BackBlaze as our hot-storage and Scaleway as our cold storage.
4. All files are versioned. File names are not a primary key.
5. Due to the nature of our encryption protocols, we cannot actively look out for illegal content, but we will take down content that violates our ToS[1] when it is brought to our attention.
---
Cryptography
1. The key recovery flow was hand rolled and peer reviewed, since we could not find existing implementations that solved for our use cases. We wanted the recoveryKey to be something that can be shared and rotated if necessary. We have reasoned from first principles and have relied on libsodium for executing the actual cryptographic operations. If you have specific concerns with this, please write to security@ente.io, we would love to engage in a conversation.
Wrapped keys are sent to clients only after verifying a user's email address and 2FA (if configured). This is similar to what most other encrypted storage providers do.
2. The extra layer of authentication was added to serve as an implicit second factor. This ensures that even if your email is compromised, an attacker cannot gain access to an auth-token and trigger API calls that could corrupt your data. Both your email and password have to be compromised for them to authenticate against our servers.
3. If by your password being compromised you mean that all of your encryption keys have been compromised, you will have to re-encrypt and re-upload all of your data. It is difficult to rotate a file key without actually re-encrypting the file.
4. These are seasoned engineers who understand and have used high level crypto libraries to build secure infrastructure at a few unicorns.
---
ToS:
1. We keep it around just to help users recover their data in case they were attacked.
2. I believe that we should be able to offer a takeout for the data that was not in violation of our ToS, but I would like to speak to our lawyers before confirming this. :)
As a fellow founder/eng in the digital consumer privacy space, I can tell you that it remains fringe. And it isn't clear if it will take off in an exponential way anytime soon as, from what I have noticed, VC-backed startups in this space trying to pry out growth have indeed struggled (SilentCircle, as one example). Competing with free [0], as it turns out, may make for a decent-sized lifestyle business, but may not bring in VC-warranted returns (Netflix vs BitTorrent / Spotify vs LimeWire notwithstanding).
Enterprise security and privacy remains very lucrative however, if you are considering pivots :)
Please consider getting ente.io's cryptography reviewed by cryptographers. It does not inspire confidence so much so that I feel ente.io frontends are better used with a tarsnap backend.
Thanks again.
We do intend to get our architecture reviewed by cryptographers. It's an expensive process but we should be able to be able to afford it soon.
- What made you go with libsodium over using the browsers Web Crypto API?
- If you stop sharing an album with someone, do you somehow re-encrypt the collection key or is the recipient still in possession of all the necessary keys to decrypt the data if they get their hands on it?
- There are access control checks in place to revoke access to files from removed album participants. But from a cryptographic standpoint, once your keys have been shared (/compromised), the respective files should be re-encrypted.
Yes, ente.io is easier to setup, but there are many things lacking or unpolished (e.g. the image sizes that are being loaded while going through the fotos fullscreen in the browser).
I like that it is self hosted, it also uses TensorFlow to classify images so you can perform keyword searches e.g "museum". It doesnt appear to be as good as Google Photos though, e.g in GP you can search "vaccination card" and it does what you expect which is very impressive.
Face detection is currently under heavy development also, which is very exciting: https://github.com/photoprism/photoprism/issues/22
There are certainly things that are missing, but I'm okay with the tradeoffs for now in the hope that it will eventually improve.
Equal: no. Comparable: sure.
We are optimistic that with the Data Transfer Project[1], Google will eventually expose APIs for us to perform this migration programmatically.
If at all the upload flow breaks in between, just drag and drop the exported folder again, we will skip already uploaded files and resume from where we left off.
The point of this post was to be critiqued, and we think everyone has their hearts in the right place.
[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...
Is there a family plan? We currently have 200gb google photos plan with my wife, but to migrate we have to take 1000gb plan (which we fill maybe in 8 years at current pace of adding content). Maybe something in between 100gb and 1000gb would find it’s audience.
Why would someone pick your service?
> Our pricing is structured such that the 1TB plan costs only 3x the 100GB plan. This model works under the assumption that the average utilization of a 1TB plan (across all customers) will be close to 30%.
> So if we bring in an intermediary plan (say 500GB), we would have increase the pricing of the 1TB plan (since at least 50% will now be utilized), and also set the price of the 500GB plan to around 2-2.5x of the 100GB plan.
> This seemed like a lose-lose situation for everyone with growing storage needs.
> Since Apple and Google don't support per GB billing yet (which IMO would have been the fairest way to go), we had to pick buckets, and the current ones seemed like the fairest possible.
--
I hope this makes sense. Please let me know if we can do better.
[1]: https://www.reddit.com/r/enteio/comments/p4m0ee/more_price_t...