All nostr.wine relays will start enforcing NIP-42 AUTH for DM REQs (kind 4) soon. If your client does not support NIP-42, everything else will still work normally but you will not believe able to receive DMs through our relays.

Replies (14)

I see, but we believe it’s worth it for DMs. Not a huge fan of the NIP-42 spec for a lot of reasons I’ve previously ranted about but it’s what we have and it’s been long enough.
I meant “indeed” instead of I see. Apparently I can’t type today.
ผมอ่านแล้วยังไม่ค่อย Get idea ซักเท่าไหร่ แต่ Npub login อันนี้ไม่เห็น DM อยู่แล้วครับ ผมเคยลองตอน Login ตลาด PlebeianMarket ครับ มันจะส่ง DM มา แล้วผมลอง Login Npub ใน Nostrudel มันจะไม่โชว์ครับ ส่วน NIP-42 ผมไม่แนใจว่า มันคือให้ Relays สามารถอนุญาต DM ของ Whitelisted Client ที่ Relays กรองไว้ ไม่งั้นจะไม่โชว์ (อาจจะสะดวกกับพวก Relays คิดเงิน Subscribe) หรือรวมถึง Event อื่นที่ Whitelisted Client ทำจะแสดงกับ Whitelisted Client ด้วยกันเท่านั้น 🤔🤔🤔 ท่านใดเข้าใจ NIP-42 รบกวนชี้แนะเพื่อเป็นความรู้ทีครับ ขอบคุณครับ
NIP-42 allows a relay to send a “AUTH” challenge to the client. The client needs then signs a message with your pubkey and sends it back to the relay. This will tell the relay which npub is making the request. If the client then makes a request for DMs that were not sent by them or sent to them, the relay will not provide any DMs back to the client.