--- Log opened Tue Sep 27 00:00:31 2022 00:00 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has joined #bitcoin-wizards 00:59 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-wizards 02:25 -!- jonatack2 [~jonatack@user/jonatack] has quit [Ping timeout: 250 seconds] 02:36 -!- pablomartin [~pablomart@82.180.147.18] has joined #bitcoin-wizards 02:50 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has left #bitcoin-wizards [Closing Window] 02:51 -!- jonatack2 [~jonatack@user/jonatack] has joined #bitcoin-wizards 02:56 -!- jonatack2 [~jonatack@user/jonatack] has quit [Ping timeout: 246 seconds] 03:13 -!- jonatack2 [~jonatack@user/jonatack] has joined #bitcoin-wizards 03:52 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 03:53 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #bitcoin-wizards 03:54 -!- tristan_1 [~tristan_@110.235.227.144] has joined #bitcoin-wizards 03:56 -!- tristan_ [~tristan_@110.235.227.117] has quit [Ping timeout: 250 seconds] 04:04 -!- pablomartin [~pablomart@82.180.147.18] has quit [Ping timeout: 250 seconds] 04:33 -!- gleb0 [~gleb@178.150.137.228] has quit [Ping timeout: 252 seconds] 04:50 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has quit [Read error: Connection reset by peer] 04:53 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 04:54 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #bitcoin-wizards 05:04 -!- vdo [~vdo@unknown.place] has left #bitcoin-wizards [WeeChat 3.6] 05:24 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 05:24 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #bitcoin-wizards 05:31 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Remote host closed the connection] 05:32 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #bitcoin-wizards 05:40 -!- jonatack3 [~jonatack@user/jonatack] has joined #bitcoin-wizards 05:42 -!- jonatack2 [~jonatack@user/jonatack] has quit [Ping timeout: 248 seconds] 06:06 -!- pablomartin [~pablomart@92.40.175.189.threembb.co.uk] has joined #bitcoin-wizards 06:08 -!- tristan_1 [~tristan_@110.235.227.144] has quit [Read error: Connection reset by peer] 06:09 -!- tristan_ [~tristan_@110.235.227.144] has joined #bitcoin-wizards 06:37 -!- jonatack3 [~jonatack@user/jonatack] has quit [Ping timeout: 252 seconds] 06:56 < pinheadmz_> roasbeef in bolt-simple-taproot am I understanding correctly that Alice gives Bob a nonce that he signs with? And vice versa? 06:56 < instagibbs> it's following MuSig2, which allows for presharing of public nonce before message is known 06:58 < instagibbs> so message pattern is roughly: share(during setup/reestablishment), sign+share, sign+share and so on 06:59 < pinheadmz_> i think i understand that musig2 starts by sharing and comitting to nonces, so they can't be used to negate other users keys etc 06:59 < pinheadmz_> but reading the bolt, 07:00 < pinheadmz_> looks like Alice sends bob her public key along with 2 musig nonces 07:00 < pinheadmz_> and one of those 2 nonces is what bob signs one of the commitment txs 07:00 < pinheadmz_> the other nonce alice uses to sign so bob can verify 07:00 < pinheadmz_> then bob sends back to alice, his public key and 2 more nonces, for the opposite 07:02 < instagibbs> MuSig2 has a public nonce, which is two curve points, per signer 07:04 < pinheadmz_> and then, IIUC, bolt-taproot has TWO of those musig public nonces, one for me and one for you 07:04 < pinheadmz_> so IIUC, we each partially sign each commitment tx with one nonce provided by the *other* party 07:04 < instagibbs> LN today uses two separate transactions for state, "local" and "remote", so you need two 07:04 < instagibbs> + more for htlc sigs 07:05 < pinheadmz_> https://github.com/lightning/bolts/blob/4ab4b8fb455d96b5abff554fa68819f60be42aa1/bolt-simple-taproot.md#rationale 07:06 < instagibbs> you have four nonces(ignoring htlcs) in parallel. two of them sign your "local" commitment tx, two sign the "remote" commitment tx 07:09 < pinheadmz_> ok we're on the same page. so my question is: does alice create a signature using a nonce that bob gave her? 07:10 < instagibbs> https://github.com/jonasnick/bips/blob/musig2/bip-musig2.mediawiki#nonce-aggregation 07:10 < instagibbs> those two sections should explain explicitly 07:13 < instagibbs> roasbeef is just naming things in the BOLT to make it clear the difference between the two nonces, since they cannot be "mixed" 07:14 < instagibbs> one is for local(the verification one), and one is for remote(the one you sign with and send) 07:15 < instagibbs> in the local case, going to chain you indeed sign using the nonce, right before broadcast 07:18 < pinheadmz_> ok so I send you two nonces (A, B) and you send me two nonces (C, D). Then I sign one commitment with NonceAgg(A, C) and you sign the other commitment with NonceAgg(B, D) ...? 07:19 < instagibbs> yeah, as long as each side agrees on which go together 07:20 < pinheadmz_> ok thanks. and then as general musig2 question: all parties always sign with a complete aggregate nonce ? 07:20 < pinheadmz_> i mean, we dont aggregate the nonces AFTER aggregating signatures to produce the final output 07:20 < pinheadmz_> (if thats even mathematically possible idk) 07:21 < instagibbs> "session context" is required to partially sign, and context requires aggregated nonce 07:21 < pinheadmz_> got it 07:25 < pinheadmz_> and in musig2 its safe for the first party to send their public key and their nonce pair at the same time? I thought one of the complications with musig was that this enabled the next party to maliciously create their own pubkey/nonce that could break the first party's security? 07:26 < pinheadmz_> or is that solved in musig2 specifically, i see something about a secnonce in there, just beginngin to understand... 07:31 < instagibbs> https://github.com/jonasnick/bips/blob/musig2/bip-musig2.mediawiki#modifications-to-nonce-generation 07:31 < instagibbs> https://github.com/jonasnick/bips/blob/musig2/bip-musig2.mediawiki#public-key-aggregation 07:44 -!- jonatack3 [~jonatack@user/jonatack] has joined #bitcoin-wizards 07:56 -!- MatrixBot123 [~matrixbot@2001:bc8:1824:bc3::1] has joined #bitcoin-wizards 08:00 -!- andytoshi [~apoelstra@user/andytoshi] has quit [Quit: leaving] 08:00 -!- andytoshi [~apoelstra@user/andytoshi] has joined #bitcoin-wizards 08:00 -!- MatrixBot123 [~matrixbot@2001:bc8:1824:bc3::1] has quit [Client Quit] 08:00 -!- MatrixBot123 [~matrixbot@2001:bc8:1824:bc3::1] has joined #bitcoin-wizards 08:23 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Write error: Connection reset by peer] 08:24 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #bitcoin-wizards 08:41 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 08:45 -!- lukedashjr [~luke-jr@user/luke-jr] has joined #bitcoin-wizards 08:47 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 260 seconds] 08:47 -!- lukedashjr is now known as luke-jr 08:55 -!- tristan_1 [~tristan_@ec2-15-206-172-71.ap-south-1.compute.amazonaws.com] has joined #bitcoin-wizards 08:58 -!- tristan_ [~tristan_@110.235.227.144] has quit [Ping timeout: 264 seconds] 09:02 -!- lukedashjr [~luke-jr@user/luke-jr] has joined #bitcoin-wizards 09:03 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 265 seconds] 09:04 -!- lukedashjr is now known as luke-jr 09:12 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #bitcoin-wizards 09:24 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 268 seconds] 09:31 -!- luke-jr [~luke-jr@user/luke-jr] has joined #bitcoin-wizards 09:35 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Excess Flood] 09:35 -!- luke-jr [~luke-jr@user/luke-jr] has joined #bitcoin-wizards 09:52 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Remote host closed the connection] 09:53 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #bitcoin-wizards 10:03 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 268 seconds] 10:06 -!- luke-jr [~luke-jr@user/luke-jr] has joined #bitcoin-wizards 10:28 -!- MatrixBot123 [~matrixbot@2001:bc8:1824:bc3::1] has quit [Quit: Bridge terminating on SIGTERM] 10:35 -!- MatrixBot123 [~matrixbot@2001:bc8:1824:bc3::2] has joined #bitcoin-wizards 10:54 -!- gleb0 [~gleb@178.150.137.228] has joined #bitcoin-wizards 11:25 -!- pablomartin_ [~pablomart@185.199.100.182] has joined #bitcoin-wizards 11:29 -!- pablomartin [~pablomart@92.40.175.189.threembb.co.uk] has quit [Ping timeout: 264 seconds] 11:40 -!- pablomartin_ [~pablomart@185.199.100.182] has quit [Read error: Connection reset by peer] 11:41 -!- pablomartin_ [~pablomart@185.199.100.182] has joined #bitcoin-wizards 12:14 -!- amovfx [amovfx@gateway/vpn/protonvpn/amovfx] has quit [Remote host closed the connection] 12:15 -!- amovfx [amovfx@gateway/vpn/protonvpn/amovfx] has joined #bitcoin-wizards 12:31 -!- pablomartin_ [~pablomart@185.199.100.182] has quit [Ping timeout: 244 seconds] 13:34 -!- tristan_1 [~tristan_@ec2-15-206-172-71.ap-south-1.compute.amazonaws.com] has quit [Quit: Leaving] 13:41 -!- amovfx [amovfx@gateway/vpn/protonvpn/amovfx] has quit [Remote host closed the connection] 13:41 -!- amovfx [amovfx@gateway/vpn/protonvpn/amovfx] has joined #bitcoin-wizards 15:14 -!- pablomartin [~pablomart@82.180.147.135] has joined #bitcoin-wizards 15:15 -!- pablomartin [~pablomart@82.180.147.135] has quit [Read error: Connection reset by peer] 15:16 -!- pablomartin [~pablomart@82.180.147.135] has joined #bitcoin-wizards 15:16 -!- pablomartin [~pablomart@82.180.147.135] has quit [Read error: Connection reset by peer] 15:16 -!- pablomartin [~pablomart@92.40.176.35.threembb.co.uk] has joined #bitcoin-wizards 15:23 -!- pablomartin [~pablomart@92.40.176.35.threembb.co.uk] has quit [Ping timeout: 246 seconds] 15:30 -!- pablomartin [~pablomart@193.176.30.51] has joined #bitcoin-wizards 16:58 -!- pablomartin_ [~pablomart@82.180.147.110] has joined #bitcoin-wizards 17:02 -!- pablomartin [~pablomart@193.176.30.51] has quit [Ping timeout: 246 seconds] 17:50 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 265 seconds] 17:56 -!- luke-jr [~luke-jr@user/luke-jr] has joined #bitcoin-wizards 18:12 -!- pablomartin_ [~pablomart@82.180.147.110] has quit [Ping timeout: 244 seconds] 19:09 -!- harrow [~harrow@static.38.6.217.95.clients.your-server.de] has quit [Quit: Leaving] 19:23 -!- andytoshi [~apoelstra@user/andytoshi] has quit [Quit: leaving] 19:23 -!- andytoshi [~apoelstra@user/andytoshi] has joined #bitcoin-wizards 19:37 -!- harrow [~harrow@static.38.6.217.95.clients.your-server.de] has joined #bitcoin-wizards 19:45 -!- tristan_ [~tristan_@2409:4070:469c:1c53:a856:205b:1513:b6cf] has joined #bitcoin-wizards 19:47 -!- tristan_ [~tristan_@2409:4070:469c:1c53:a856:205b:1513:b6cf] has quit [Max SendQ exceeded] 19:48 -!- tristan_ [~tristan_@2409:4070:469c:1c53:a856:205b:1513:b6cf] has joined #bitcoin-wizards 20:59 -!- tristan_ [~tristan_@2409:4070:469c:1c53:a856:205b:1513:b6cf] has quit [Quit: Leaving] 21:25 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 21:26 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #bitcoin-wizards 21:54 -!- yanmaani2 [~yanmaani@gateway/tor-sasl/yanmaani] has quit [Remote host closed the connection] 22:05 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 22:06 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #bitcoin-wizards 22:28 -!- yanmaani2 [~yanmaani@gateway/tor-sasl/yanmaani] has joined #bitcoin-wizards 22:28 -!- yanmaani2 [~yanmaani@gateway/tor-sasl/yanmaani] has quit [Remote host closed the connection] 22:29 -!- yanmaani2 [~yanmaani@gateway/tor-sasl/yanmaani] has joined #bitcoin-wizards 22:31 -!- tristan_ [~tristan_@110.235.227.2] has joined #bitcoin-wizards 22:55 -!- tristan_ [~tristan_@110.235.227.2] has quit [Ping timeout: 264 seconds] 22:56 -!- tristan_ [~tristan_@110.235.227.189] has joined #bitcoin-wizards 23:21 -!- amovfx_ [amovfx@gateway/vpn/protonvpn/amovfx] has joined #bitcoin-wizards 23:22 -!- amovfx [amovfx@gateway/vpn/protonvpn/amovfx] has quit [Ping timeout: 252 seconds] 23:27 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] --- Log closed Wed Sep 28 00:00:32 2022