properly adding auth to the #realy client library has blatted bugs, both in the no-cgo shitty btcec signer and the nice fast bitcoin core cgo signer
important work for in general, now the spider can *try* to auth to auth-required relays to grab their events, but more importantly, when i move to building the client side of #nrc Nostr Relay Chat (pending nip-79, see pr: https://github.com/mleku/nips/blob/master/79.md https://github.com/nostr-protocol/nips/pull/1654 )
yeah, that has to work
i also will probably need to later fix the relay pool code to work correctly in this way as well
i also had ideas about a one-shot auth scheme where you have a list of relays that you use "your" nsec to sign but if you don't have an account you just make one up and sign with that... this is something i've talked about for some time about the ignorant superstition about auth doxxing users... if i'm paying, they need proof... if i'm not paying, and they demand a signature, i'll just scrawl an x and if that's all they wanted, Good ™️ 🐈
currently testing the spider, first step was making the nip-11 relay information work... blatted several bugs there
then with the relay info, i'm temporarily making the spider only try to use auth-required relays, which led me to the problem of the client auth not being properly implemented yet (i have an entirely different scheme than fiatjaf's versions, which generally involve insecure handling of immutable hex encoded strings, and yeah, right now it's not strongly protected, but at least it's not leaking secrets into garbage memory... i have a plan to add a full memory fence secret key security enclave implementation into the signer, but for now it is at least good enough to not leak secrets around beyond the initialization and config item nsec value in the environment variables
will have this spidering working with auth-required relays soon, it will be interesting to see how many of the auth-required relays will let me query them but at least i'll know that the client code has working auth when they return something other than "gib signature biatch"
Showing page 1 of
1 pages