News for hackers. Stuff that matters.
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by akho on Monday June 30, 2025 @03:30PM (#44426975)
The Ente self-hosting proposition seems strange. Why would I want to e2e encrypt my photos that I self-host? Sounds like it will only make life more difficult.
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by mossTechnician on Monday June 30, 2025 @03:36PM (#44427017)
1. "Self-hosted" doesn't always mean "on your own hardware." Some people rent VPSes. This helps keep their data safe.

2. The software is provided without modification; I think it would be stranger to remove the encryption.

Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by idatum on Monday June 30, 2025 @06:26PM (#44428598)
> Some people rent VPSes. This helps keep their data safe.

This is exactly how I self-host Ente and it has been great.

Machine leaning for image detection has worked really well for me, especially facial recognition for family members (easy to find that photo to share).

I have the client on my Android mobile, Fire tablet (via F-Droid), and my Windows laptop.

My initial motivation was to replace "cloud" storage for getting photos copied off the phone as soon as possible.

Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by akho on Tuesday July 01, 2025 @07:41AM (#44432893)
TB-scale VPSes are not economical vs a home NAS. I see how that can be useful for smaller collections, though.
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by ibizaman on Monday June 30, 2025 @07:26PM (#44429002)
You may want to self-host for your family or close friends while guaranteeing them privacy.
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by akho on Tuesday July 01, 2025 @07:37AM (#44432862)
I'd prefer to guarantee they don't lose access, despite their key management practices.
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by ibizaman on Saturday July 05, 2025 @12:21PM (#44473745)
That’s a very good point. For a long time I was advocating for self-hosting for increasing one’s privacy, but I always was hitting the “I’ve got nothing to hide” wall. Now, the concern is losing access to your data. What do you do if you’re kicked out of your email account?
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by freehorse on Monday June 30, 2025 @08:44PM (#44429476)
Because you want to access your photos remotely, or give access to more people to certain albums. If the point is to just store them locally and no remote access is needed, a hard drive would probably be enough.
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by akho on Tuesday July 01, 2025 @07:38AM (#44432870)
That's why you need a server. e2ee does not help with any of that.
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by zzyzxd on Monday June 30, 2025 @11:04PM (#44430189)
e2ee makes it easier to sell their hosted version, and there's probably not enough incentive to justify the additional overhead of having an unencrypted option.

Also, my house is less secure than commercial data centers, so e2ee gives me greater peace of mind about data safety.

Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by akho on Tuesday July 01, 2025 @07:34AM (#44432837)
> Also, my house is less secure than commercial data centers, so e2ee gives me greater peace of mind about data safety.

I think you overestimate security of data centers.

At rest, you use full-disk encryption anyway, so the extra layer just makes things harder.

Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by prophesi on Monday June 30, 2025 @11:12PM (#44430219)
If there's a server involved, there's no reason not to have sensitive files and information end-to-end encrypted, whether self-hosting or not.
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by akho on Tuesday July 01, 2025 @07:36AM (#44432849)
You do want to have things encrypted in transit and at rest. e2ee means server admins (I) cannot access the user's (mine) photos.
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by prophesi on Tuesday July 01, 2025 @11:38AM (#44435005)
The server admin can still access their own photos via the client. They wouldn't be able to access the photos of other users.
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by akho on Tuesday July 01, 2025 @01:58PM (#44436480)
I understand what e2ee is, thank you. I just don't think it’s justified for self-hosted photo servers.

E. g., “Any operations / transformations” includes facial recognition, CLIP embeddings, &c; you want to run this on the server, overnight, and to be able to re-run at a later date when new models become available. Under e2ee, that’s a round-trip through a client device at every model update. So that’s a significant downside, for no important upsides in the case when you and your family are the only users.

Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by prophesi on Tuesday July 01, 2025 @02:14PM (#44436643)
I was explaining why e2ee has important upsides, not how e2ee works. With Ente (and I think Immich as well), facial recognition and generating new CLIP embeddings are done on-device[0], usually right when the photo is taken / before they're uploaded to the server.

[0] https://ente.io/blog/image-search-with-clip-ggml/

Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by akho on Tuesday July 01, 2025 @05:09PM (#44438033)
Immich does it on the server.

What happens if there’s a new, better model? You’d need to re-download, decrypt, and run inference on all your past media, which is in terabytes for many.

I understand the benefit of e2ee in a situation where there is no trust between user and admin. In personal self-hosting, that’s the same person (or family), and the upsides are not as relevant. The downsides (possibility of data loss for, e. g., kids who are not very good with passwords/keys; difficulties with updating models / thumbs; …) remain important, and outweigh the benefits, even assuming the e2ee is implemented well.

Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by prophesi on Tuesday July 01, 2025 @11:40PM (#44440065)
You do you, but the trust is beyond just admin and users. And family photos are treated as treasures. Data loss is a fair point, but if you're self-hosting a photos app I imagine server/db backups are part of your routine. Account recovery is all that's needed to recover lost photos from there. Well, unless your VPS is compromised in a manner of data loss for longer than you wished before your backups ran, in which case it's still better that such sensitive info was e2ee'd.

edit: also feel like I'm echoing the classic dropbox comment, but self-hosting in a sane and secure manner is harder than it's made out to be. It needs to be taken seriously.

Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by akho on Wednesday July 02, 2025 @01:52AM (#44440609)
e2ee prevents account recovery.
Re:Ask HN: What's the 2025 stack for a self-hosted photo lib... by prophesi on Wednesday July 02, 2025 @02:05PM (#44446927)
People have found decent solutions for that. Proton's is essentially a backup password/phrase or a file you keep safe. Not as simple as a magic link, and could still lose your backup phrase/file, but alas. Security is always a compromise on convenience.

[0] https://proton.me/blog/data-recovery-end-to-end-encryption