Oddbean new post about | logout
โ–ฒ โ–ผ
 First patch to #Damus successfully merged! Thanks to @jb55 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. 
 ๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป