NIP-XX - Nostr Token Login#793
Conversation
|
Concept NACK + NACK at making NIP-26 even more complex (negative filter) This proposal, as it happens with everything NIP-26 related, would make users think that scoping the session will mean that the delegation can't be abused, which is utterly incorrect, at the cost of a much more complex relay implementation and more complex client implementations. |
|
@pablof7z thx for the feedback. Regarding delegation abuse, yes this is similar to an unrevokable JWT. But don't you think handling the nsec is worse? Hard to imagine the majority of users using browser extensions or signer apps. I will think of way of revoking the token. |
|
I've edited NIP-26 to make it "kinda" revocable. So the more NIP-26 supporting relays, the better. Can't think of a better way. |
|
this is incredibly complex, imposes a brutal tax on relays (and clients) and forces relays to query other relays for state; keep in mind delegation tokens are not "created" at any relay; they are bearer tokens; is the relay supposed to check all the this is why NIP-26 is terribly bad; it's radically incomplete and every attempt to fix it increases its complexity and centralization forces exponentially |
Well noticed, it is a burden. I could limit it to one rr param but I will think of a better way. |
|
Closing this as NIP-26 is really a pain to implement right on clients. Also nostream has already dropped support for considering the delegator the event author when requesting events. |
The token (NIP-19
ntoken) will usually be created by the client trusted to store the user's private key.The idea is that other clients should support user pasting their
ntokento login (creating a temporary session) instead of pasting theirnsec.I know NIP-26 was not intended for this because clients not supporting NIP-26 will be full of faceless users publishing stuff
but this is probably better than users pasting their nsec at every client they want to test.
Read here