frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Decentralized Auth for Information Exchange?

2•vxsz•1h ago
I have a media server project that I want to work on. But I'm stuck on one thing, convenience vs privacy.

As the project is about spinning your own server (media server), I want to have a smoother way to have a simple account system where the user just enters an email and a password, and get the server/ip list (everything from there is done on the actual server). For example, a user could be invited to 2 servers, and would see them in the same page, which makes things more straight-forward and a lot easier.

Now, I thought a lot about it, and mostly came down to the conclusion that centralizing it is the most sane option. The data itself comes down to: email, encrypted password, encrypted IP(s) list (via key exchanges).Is there any-way to do it decentralized? I searched, even asked LLMs, but nothing felt solid (best was a Nostr suggestion) but such method would make emails, password resets painful or almost impossible. I don't know a lot regarding this topic so its quite the challenge.

What's the point/why not just use URL? convenience. I know, but it SUCKS having to give a parent a URL, even with some techy friends it takes a bit communicating it. I want to eliminate as much friction as possible. Also, if centralized, this has the ability that users don't need to buy a domain, setup lets encrypt and all that which costs money and time (especially for simple/new selfhosters); its a lot nicer and smoother and in a way provide better privacy out-of-the-box.

Note, This project doesn't even exist yet. But I'm pursuing quite soon. I also only took 1 encryption course back in college days, while I understood and was good at it, I still need to audit/verify my method. It basically is: 1. hash the password+salt in a different algorithm, save the private key from it and send the public key to the central server 2. (media server owner wants to invite) the media server checks for a public key, encrypts the message containing all the details (IP, status, ports etc), and sends the encrypted message to the central server. 3. The client later checks, if there's a new message, it decrypts the ip/info from the server and connect.

Every device can login in this way and grab server list info securely. There's gonna be some sort of way to "quick connect" on TVs and such, and change passwords, but I don't want to get ahead of myself for now. I don't think the IP/server-info encryption suffers from any major things, but that's the general core principle. I maybe (probably?) have missed something.

The only issues I can maybe think of, is a "centralized" URL/domain would be showing up all the time instead of the owner. Note, it would be designed in a way that would allow you to instead send them to your own URL/domain and such.

Anyways, let me know what would be best. btw I'm not rich but such simple "auth" server would probably cost like $5/m + 2x5/m for redundancies, shouldn't be too bad.

Comments

ZuoCen_Liu•1h ago
As an entrepreneur, this feels like a classic case of over-engineering for a problem you haven't earned yet.

Decentralized auth is a fascinating technical rabbit hole, but it introduces a massive friction point for your first 1,000 users. For a new, unproven project, credibility is your biggest bottleneck, not decentralized storage.

By building your own complex auth/privacy stack, you are asking users to trust you to get the crypto right—which is a huge leap of faith.

A more pragmatic approach: Outsource the trust. > Use 'Sign in with Google/Apple/GitHub.' You leverage their multi-billion dollar security infrastructure and their existing trust relationship with the user. It provides immediate convenience (one-click onboarding) and shifts the perceived privacy liability to a known entity.

Don't spend your innovation tokens on auth. Spend them on the core value of your information exchange. You can always 'decentralize' the back-end later once you have enough users to actually make it matter.

vxsz•1h ago
Yeah I think decentralization will be a stretch, especially at the beginning.

About the login, SSO is nice and it will probably be an option, but I heavily prefer good old email+password. It might be trickier, haven't explored SSO before.

The auth/central server will be open source of course, and I'm hoping I could get feedback/auditing that way if anything's wrong (even tho I feel like the process is simple with encryption libs and knowledge). At first it will be heavily experimental and will hold just dummy data and then gradually go from there if it works out.

Serenely Fast I/O Buffer benchmarked

https://www.serenedb.com/blog/
2•mkornaukhov•58s ago•0 comments

Siraaj: a lightweight real-time analytics service in Go using DuckDB

https://github.com/mohamedelhefni/Siraaj
1•hefni101•1m ago•0 comments

Tiny-TSM: Efficiently Training a Lightweight SOTA Time Series Foundation Model

https://arxiv.org/abs/2511.19272
1•skanderbm•2m ago•0 comments

Ask HN: What's the minimal WordPress security hardening you'd trust?

1•mirza_rizvi•5m ago•0 comments

How did IRC ping timeouts end up in a lawsuit?

https://mjg59.dreamwidth.org/73777.html
1•susam•7m ago•0 comments

America's Dirtiest Carbon Polluters, Mapped to Ridiculous Precision

https://gizmodo.com/americas-dirtiest-carbon-polluters-mapped-to-ridiculous-precision-2000700924
1•ourmandave•8m ago•0 comments

Ancient hunter-gatherer DNA may explain why some people live 100 years or more

https://phys.org/news/2025-12-ancient-hunter-dna-people-years.html
1•pseudolus•10m ago•0 comments

There Has to Be a Way

https://www.bloodinthemachine.com/p/there-has-to-be-a-way
1•ArmageddonIt•12m ago•0 comments

Test scores in U.S. schools are down. Are smartphones to blame?

https://www.npr.org/2025/12/14/nx-s1-5587585/is-decline-in-test-scores-linked-to-cell-phones
1•pseudolus•14m ago•0 comments

Why the Shipping Forecast Endures

https://www.newstatesman.com/culture/radio-podcasts/2025/12/why-the-shipping-forecast-endures
1•bookofjoe•15m ago•0 comments

CEO-CTO Therapy (Part 1): Communication

https://avivbenyosef.com/ceo-cto-therapy-part-1-communication/
1•avivby•15m ago•0 comments

Show HN: Email Expiration Manager Thunderbird Add-On

https://addons.thunderbird.net/en-US/thunderbird/addon/email-expiration-manager/
1•pydubreucq•17m ago•0 comments

We Let AI Run Our Office Vending Machine. It Lost Hundreds of Dollars

https://www.wsj.com/tech/ai/anthropic-claude-ai-vending-machine-agent-b7e84e34
2•lukaspetersson•18m ago•1 comments

Who needs a NAS? Just use your old phone

https://www.xda-developers.com/phone-as-nas-home-server-guide/
1•sipofwater•18m ago•4 comments

Show HN: Save For Later – AI-powered bookmark manager that resurfaces your saves

https://saveforlater.pro
1•aria-sfl•21m ago•0 comments

Updates to GitHub Actions Pricing

https://github.com/orgs/community/discussions/182186
1•choult•21m ago•0 comments

Slowness Is a Virtue

https://blog.jakobschwichtenberg.com/p/slowness-is-a-virtue
4•jakobgreenfeld•25m ago•0 comments

Why are sperm donors having hundreds of children?

https://www.bbc.com/news/articles/cvg8mge23leo
1•0in•27m ago•0 comments

Tomlin7/KeePassDiff: A diff/merge tool for KeePassXC databases

https://github.com/tomlin7/KeePassDiff
1•rcarmo•27m ago•0 comments

Windows 3.1's 'Hot Dog Stand' UI Color Scheme

https://daringfireball.net/linked/2025/12/17/windows-3-1-hot-dog-stand
2•tosh•29m ago•0 comments

One Big Server Is Probably Enough: Why You Don't Need the Cloud for Most Things

https://oneuptime.com/blog/post/2025-12-12-one-big-server-is-enough/view
1•stanislavb•31m ago•0 comments

Saudi Arabia wants to host the cheapest data centres

https://www.economist.com/science-and-technology/2025/12/17/saudi-arabia-wants-to-host-the-worlds...
1•Brajeshwar•32m ago•0 comments

Reinventing the Wheel with In-Wheel Motors

https://www.electrichybridvehicletechnology.com/uncategorized/feature-reinventing-the-wheel-with-...
1•Kaibeezy•38m ago•0 comments

2025 was the year we lived alt-2016 and debated everything

https://thesocialjuice.substack.com/p/2025-was-the-year-we-lived-alt-2016
1•jaskaransainiz•38m ago•0 comments

Natilus Enters India with Bold SpiceJet Deal

https://airinsight.com/natilus-enters-india-with-bold-spicejet-deal/
1•Brajeshwar•39m ago•0 comments

Japan App Store Gets Alternative Marketplaces, Third-Party Payments and More

https://www.macrumors.com/2025/12/17/japan-app-store-feature-updates/
1•akyuu•40m ago•0 comments

Apple announces more ads are coming to App Store search results

https://9to5mac.com/2025/12/17/apple-announces-more-ads-are-coming-to-app-store-search-results/
2•akyuu•41m ago•0 comments

Encrypted Client Hello Approved for Publication

https://www.feistyduck.com/newsletter/issue_127_encrypted_client_hello_approved_for_publication
1•maxloh•42m ago•0 comments

After Ruining a Treasured Water Resource, Iran Is Drying Up

https://e360.yale.edu/features/iran-water-drought-dams-qanats
9•YaleE360•42m ago•0 comments

AI is making dangerous lab work accessible to novices, UK's AISI finds

https://www.transformernews.ai/p/aisi-ai-security-institute-frontier-ai-trends-report-biorisk-sel...
1•llabwons•45m ago•0 comments