nostr:npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl are you aware that #jumble doesn't auth when the relay sends an auth challenge on connect?
Discussion
i didn't want to have to complicate my code by handling the "challenge on arbitrary request trigger" so i just make it send the auth request if auth is required, before it even starts handling received messages.
according to NIP-42 spec this should be respected.
i guess i'm gonna have to add one more point where it asks if it's not already authed for this problem, when i looked at my code i realised it wasn't enforcing any policy on event upload!
and then it isn't authing.
and i'm getting some weird socket error too, about the message not being valid UTF-8 when it receives the auth challenge
auth response, i mean
nostr:nprofile1qyg8wumn8ghj7mn0wd68ytnddakj7qg4waehxw309aex2mrp0yhxgctdw4eju6t09uq4camnwvaz7tmswfhhs7fwdehhxarj94ex2mrp0yhxzurs9ask2vesvfsnyvehxf3k2epkvvcnjd3svs6rjcesxgmrvenyvsek2vphvdjkzdfjvgckye3nxuuxverzxcurgct9v5mrxd3nv3jkxdpkqyt8wumn8ghj7mn0wd68yttjv4kxz7fwv9c8qtcppemhxue69uhkummn9ekx7mp0qqsgzfdez8ksa9xmuvqg5zly3nl9e5xqkpvj8nllj9aw06ra4pqq3qcuh9hcc i forgot i need to send an OK,false,"auth-required: