Would a Key-Based Login System Make More Sense for the Fediverse?
from Teknevra@lemmy.world to fediverse@lemmy.ml on 18 Jan 19:56
https://lemmy.world/post/24432226

Hey everyone,

I’ve been thinking about how the Fediverse handles user accounts and logins for a while now, and I had a question.


Right now, users have to create accounts on specific instances on various platforms, which works but can sometimes feel a bit fragmented—especially when someone wants to interact across multiple instances or migrate to a new one.

Would it make more sense for the Fediverse to adopt a login system based on encrypted keys, like how NOSTR operates (or something similar)?

In such a system, users could have a single “universal” private key that serves as their identity across the network.


Here are some potential benefits I see:


Of course, there are likely challenges to this approach, such as handling lost keys, onboarding non-technical users, or ensuring compatibility with existing protocols.

But it seems like a conversation worth having.

What does the community think?

Are there reasons this wouldn’t work for the Fediverse, or could this idea help address some existing pain points?

Looking forward to hearing your thoughts.


EDIT:

I suggested this over on r/Fediverse and a Redditor gave me this:

codeberg.org/fediverse/fep/src/…/fep-ef61.md

microformats.org/wiki/rel-me

So I guess that it is being worked on Fediverse - wise.


nostr.com/get-starthtml

www.nostr-ruby.com/core/keys.html

#fediverse

threaded - newest

originalucifer@moist.catsweat.com on 18 Jan 20:02 next collapse

account portability is high on the list of needed features, and there have been lots of suggested solutions.. that said, i dont think nostr is a shining example of.. well, anything.

lack of moderation is one of the biggest pain points. nostr is a cesspool of trolls

Blaze@feddit.org on 18 Jan 20:01 next collapse

The Fediverse is already difficult enough to get as it is, add key management to the mix and we’ll be a few hundreds instead of 42000 monthly active users

leisesprecher@feddit.org on 18 Jan 20:32 collapse

For most of the practical use cases, a mechanism to somehow link to your own instance would be enough.

I often stumble upon links to other instances, but from there, there’s no direct way to interact via my own instance. I have to awkwardly copy URL parts around or search the post in my own instances UI.

Blaze@feddit.org on 18 Jan 21:37 collapse

Agnostic links will be implemented in 0.20: feddit.org/post/5390705

Die4Ever@programming.dev on 18 Jan 22:08 collapse

Also related, but no ETA

github.com/LemmyNet/lemmy-ui/issues/2318

lung@lemmy.world on 18 Jan 20:22 next collapse

I guess it doesn’t really work as described. The data that’s valuable is your content history & unique username. There’s no way around having to migrate/store this somewhere, and it shouldn’t have to be replicated by every node. So basically we just need a solution for porting account data from one instance to another securely and accurately

catloaf@lemm.ee on 18 Jan 20:29 next collapse

I don’t see how this proposal makes any changes. Your account is already unique and usable across the fediverse.

A key used for authentication is really just a long password, anyway.

If you mean you should be able to log into server A with your account registered on server B, that doesn’t need key auth. Password auth would be fine, it’s just not implemented (at least on Lemmy or any other fediverse platform I’m aware of). Authentication isn’t federated, only content.

silverpill@mitra.social on 18 Jan 21:18 next collapse

@Teknevra It can be done with FEP-ae97:

https://codeberg.org/fediverse/fep/src/branch/main/fep/ae97/fep-ae97.md

Which enables shared identity and seamless migration as you describe, but I don't think traditional web login needs to be abandoned. Fediverse will support both types of identities.

@fediverse

ada@lemmy.blahaj.zone on 18 Jan 22:51 next collapse

There are upsides and downsides to such an approach.

We admin several instances for example, because we are trying to create safe spaces for queer folk and want to foster those communities. We pay out of our own pockets to do so.

I’ve got no interest in running a generic piece of network infrastructure that can be used by bigots just as readily as the people that they harass.

The people that do want to run that are “free” speech types, which is how you end up with nostr

Blaze@feddit.org on 19 Jan 08:03 collapse

Good point

antonionardella@lemmy.world on 19 Jan 07:51 collapse

How about a decentralized digital identity?

walt.id