From rusty at rustcorp.com.au Tue Jun 28 01:41:05 2016 From: rusty at rustcorp.com.au (Rusty Russell) Date: Tue, 28 Jun 2016 11:11:05 +0930 Subject: [Lightning-dev] [BOLT RFC#1] Encryption spec In-Reply-To: <20160626222720.GB9056@fedora-21-dvm> References: <87io0zndy1.fsf@rustcorp.com.au> <1466941991.2812.8.camel@ultimatestunts.nl> <20160626222720.GB9056@fedora-21-dvm> Message-ID: <87lh1qccpa.fsf@rustcorp.com.au> Peter Todd writes: > On Sun, Jun 26, 2016 at 01:53:11PM +0200, CJP wrote: > > FYI, have you seen the work being done by Jonas Schnelli for Bitcoin on P at P > layer encryption? > > https://github.com/bitcoin/bips/blob/master/bip-0151.mediawiki > > He's using a subset of the encryption scheme OpenSSH uses, which means he gets > the benefit of all the review that's been done for OpenSSH. If you use it, you > get that benefit, as well as review from the Bitcoin Core team. Yes, this draft predates that work, but it would be nicer. They're pretty similar, let's see if we can make them closer. Our needs are slightly different: there's no "unencrypted" comms we need to bootstrap, and we want peer authentication always. Cheers, Rusty.