Post
Topic
Board Bitcoin Technical Support
Merits 11 from 3 users
Re: Decrypt Lightning Node Client Traffic
by
NotATether
on 21/09/2023, 07:51:43 UTC
⭐ Merited by DaveF (6) ,simpleSliv3r (3) ,ETFbitcoin (2)
I guess it is, for privacy and security reasons.

https://github.com/lightning/bolts/blob/master/08-transport.md

As far as I understand from here, it uses the node ID (a pubkey) to encrypt the traffic.

SS

It looks like it's a non-standard authentication method, not using TLS but it is using keys on the secp256k1 curve and a form of ECDH called Noise_XK.

In order to get the session key that is generated by this algorithm which encrypts the traffic, you'll have to find a utility which allows you to replicate the Noise_XK key exchange process.