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

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

📅 Original date posted:2015-10-19
📝 Original message:
On Mon, Oct 19, 2015 at 10:51:52AM +0200, Mats Jerratsch wrote:
> Hm interesting. So far the IP-PubKey-Relationship was public for me
> (furthermore, I even think about adding it to the gossip protocol, see
> other post).

Yeah, it's definitely easier to think about that way.

> I think we can mitigate the risks associated fairly well. Suppose
> lightning nodes run on dedicated machines, firewalled against any
> incoming connections (except ones on the lightning port).

(I don't think lightning wallets can realistically run on dedicated
machines/IPs; so that makes a significant distinction between wallets
for consumers and nodes for routing/merchants I think)

> Against MITM and eavesdropping your pubkey to a stranger connecting to
> your node, we can change the protocol such that the one initiating the
> connection always sends his signed pubkey object first.

I don't thnk that works -- if you can MITM Alice and Bob, then you just do
that while they're in the middle of a connection. When Alice reconnects,
she immediately tells you who she is. If Bob tries reconnecting as well,
you find out who he is too. Sending a shared secret nonce instead,
then just sending signatures avoids that; either one can re-establish
the connection if they can actually talk, and if there's a MITM they
reveal nothing, but do discover they can't talk.

Cheers,
aj
Author Public Key
npub17rld56k4365lfphyd8u8kwuejey5xcazdxptserx03wc4jc9g24stx9l2h