yeah, random keys is useless though if you keep sending them from the same damn ip address that is your home router lol

Reply to this note

Please Login to reply.

Discussion

Well... yes, unless your client "home router" is a major corporation's AWS gateway, and your wallets "home router" is tor.

whats it successfully hiding tho? you still have to tag those pubkeys, and if you can see the events you know the same amount of stuff as the random keys. because tagging. each user will have their own nwc daemon pubkey theyre talking to..

Haven't looked at the spec in a while, but IIRC each pairing had a stable key. You could see the activity for a pairing, but you wouldn't know what the endpoints were

the pairing keys are just for connecting up wallets to nwc capable clients, right?

as far as i can recall, these are ephemeral events and the relay essentially acts as a proxy between them, for reasons of stupid internet protocol NAT bullcrap

being that the events, albeit big, are not supposed to be stored anyway, i don't think this is a problem... i may be misremembering the spec though, as i said i am only in the process of building out a #golang codec for the protocol at this point, not to the level of actually writing a client or server side of it

also, yeah, it really should include auth but unless i'm mistaken, that is entirely the responsibility of the client side to implement correctly, as far as i can tell, otherwise it's just a matter of having a side channel to negotiate the connection key

i think that the issue of privacy in this is best resolved by using nip-44 encryption, giftwrapping the messages, and, you know, not putting anything but the wallet/client connection details outside of the giftwrap

it's something i want to work on, in the future, my relay project is ready to deploy for this kind of use already, just that the part involving managing subscriptions has not been implemented, this can be entirely separate, running on a separate server because it is managed by follow lists, not some extra protocol

well, the lnbits nwc plugin doesnt do auth, so i would have to write some python. or figure out if i can run just the nwc from alby without the rest of the hub parts 🤔

yeah, the absence of a #golang implementation of NWC is a real problem for me, and i know it would help you if it was done

i have it on my todo list, and i have done most of the message codec so far, just haven't finished it yet because it's quite extensive

also, i hate all these other things... fucking python, rust, c++, javascript, utter shit languages to work with, what is wrong with these people?

btw, most of alby hub is written in Go!

just not the FUCKING NWC implementation smh

huh, well, i found a problem, strfry thinks both amethyst and this nwc plugin are sending invalid signatures! woah.