primal-web-app icon indicating copy to clipboard operation
primal-web-app copied to clipboard

[NWC] Support NIP-42 (AUTH) for zap relay

Open mutatrum opened this issue 11 months ago • 0 comments

I'm running ligess, for self-custodial zaps. It has a single purpose relay, only for zapping. As this has access to my LND, it enforces AUTH on incoming connections for added security. Ligess sends an NIP-42 AUTH request, but Primal doesn't answer, after which ligess times out and the zap fails. The UI shows a zap, but it's not stored, on refresh it's gone, so there is also a small issue with verification of the zap and/or error handling of NWC zaps.

Image

The same issue existed on Nostter when they added NWC: https://github.com/SnowCait/nostter/issues/1397

mutatrum avatar Feb 10 '25 09:02 mutatrum