First patch to #Damus successfully merged! Thanks to nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s for getting this merged and reviewing it.
https://github.com/damus-io/damus/commit/84cfeb16048c6387a38eaac5d1fbf1a1d1762a13
First patch to #Damus successfully merged! Thanks to nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s for getting this merged and reviewing it.
https://github.com/damus-io/damus/commit/84cfeb16048c6387a38eaac5d1fbf1a1d1762a13
๐ฅ๐ค
Im having trouble seeing what this does ( im a layman ) can anyone tl:dr for me ? Ty ty
#asknostr
Sure! NIP-42 is a way for clients to authenticate to relays. From the user perspective itโs seamless and invisible to you.
But it enables a relay to know what user/pubkey is connected to their relay. This is primarily used for paid relays (ex. filter.nostr.wine) or relays that only send your DMs to authenticated users (ex. nostr.wine).
filter.nostr.wine for example before NIP-42 required you to change the URL to include your npub so they knew who was connecting. However that isnโt very secure and it didnโt provide true authentication.
Iโm sure there are a lot of use cases Iโm missing. But at a high level it allows a relay to verify who a user/pubkey is that is connected to their relay.
Hopefully that helps explain it.
NIP-42 is a way for clients to tell relays which pubkey is connected. It provides a way for relays to access control content (like DMs) to only their intended recipients. It also enables private relays and other interesting use cases.
nostr.wine uses this to protect DM metadata. creatr.nostr.wine uses AUTH to create a patreon-style relay.
๐๐ป๐๐ป๐๐ป๐๐ป