What is Nostr?
deadsuperhero / Sean Tilley
npub1ldz…n99t
2024-06-02 10:26:30

deadsuperhero on Nostr: I'm just starting to research this more, but I've got a #Nostr question pertaining to ...

I'm just starting to research this more, but I've got a #Nostr question pertaining to private keys and security.

As a best practice, it seems like we don't want people to use their NSec to log into a bunch of different clients. Instead, it seems a more favored practice these days is to delegate something to do your signing for you, like the Alby browser extension.

The user experience is pretty good, and it seems like the current wisdom is to use the browser or a mobile client for this, instead of storing it on a server. My general inquiry is, how secure is this? Is this the best way to do things?

On the #Fediverse side of things, it's more common to see OAuth for client auth. Of course, that all relies on servers, and goes a bit against a peer-to-peer model.

I'm curious as to whether a hybrid approach is possible, or even makes sense: allowing users to tether themselves to some kind of identity provider that more or less does delegated key rotation and some kind of Auth dance for them?
Author Public Key
npub1ldzlnqkjf3ka4tkszt3gcfg5hfeq0gyv6uud2t385hhksfmx0yqq8fn99t