Why Nostr? What is Njump?
2023-06-09 12:44:54
in reply to

Anthony Towns [ARCHIVE] on Nostr: 📅 Original date posted:2015-10-21 📝 Original message: On Wed, Oct 21, 2015 at ...

📅 Original date posted:2015-10-21
📝 Original message:
On Wed, Oct 21, 2015 at 11:41:45AM +1030, Rusty Russell wrote:
> Having a session nonce does help after first handshake, though it allows
> correlation, so it needs to change (pretty trivial, it could just be
> sha256() of some shared secret plus a number which increments on each
> successful handshake).

Can just be the first 4-8 bytes of that too (leaving the next 4-28 bytes
to be the secret response in the signature). ECDH of the node ids would
be the obvious shared secret to use as a base?

> In practice I think "successful handshake" is a bit vague, so may
> require allowing +/- 1 nonce. I'd have to think harder about this
> though.
> Is this overcomplicating things?

While nodes are publishing their ids (and IPs -- even if only by /whois)
in a public IRC channel, I don't think a nonce does any good -- the info
it's trying to avoid revealing is already being revealed anyway. So I
think table this for now?

Cheers,
aj
Author Public Key
npub17rld56k4365lfphyd8u8kwuejey5xcazdxptserx03wc4jc9g24stx9l2h