sipa changed the topic of #bitcoin-wizards to: This channel is for discussing theoretical ideas with regard to cryptocurrencies, not about short-term Bitcoin development | http://bitcoin.ninja/ | This channel is logged. | For logs and more information, visit http://bitcoin.ninja
Snowstormer has quit []
TheoStorm_ has joined #bitcoin-wizards
TheoStorm has quit [Read error: Connection reset by peer]
nihui has joined #bitcoin-wizards
TheoStorm_ has quit [Client Quit]
rafalcpp_ has joined #bitcoin-wizards
rafalcpp has quit [Ping timeout: 252 seconds]
queip has quit [Ping timeout: 248 seconds]
TheoStorm has joined #bitcoin-wizards
queip has joined #bitcoin-wizards
surja795 has joined #bitcoin-wizards
_rht has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
michaelfolkson has joined #bitcoin-wizards
michaelfolkson has quit [Client Quit]
tromp has quit [Ping timeout: 258 seconds]
pinheadmz has joined #bitcoin-wizards
pinheadmz has quit [Client Quit]
bajdev has joined #bitcoin-wizards
bajdev has quit [Client Quit]
reallll has joined #bitcoin-wizards
bajdev has joined #bitcoin-wizards
bajdev has quit [Client Quit]
bajdev has joined #bitcoin-wizards
belcher has quit [Ping timeout: 272 seconds]
bajdev has quit [Client Quit]
e4xit has quit [Ping timeout: 272 seconds]
bajdev has joined #bitcoin-wizards
pinheadmz has joined #bitcoin-wizards
TheoStorm has quit [Quit: Leaving]
bajdev has quit [Quit: Leaving]
riclas has quit [Ping timeout: 252 seconds]
adlai has left #bitcoin-wizards ["WeeChat 1.1.1"]
Belkaar has quit [Ping timeout: 244 seconds]
Belkaar has joined #bitcoin-wizards
Belkaar has quit [Changing host]
Belkaar has joined #bitcoin-wizards
pinheadmz has quit [Quit: pinheadmz]
thomasan_ has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
_rht has quit [Quit: Connection closed for inactivity]
thomasan_ has quit [Remote host closed the connection]
tromp has quit [Ping timeout: 258 seconds]
hugohn has joined #bitcoin-wizards
DeanGuss has joined #bitcoin-wizards
DeanGuss has quit [Remote host closed the connection]
mryandao has quit [Quit: ZNC 1.7.3 - https://znc.in]
tombusby has quit [Ping timeout: 260 seconds]
ghost43 has quit [Quit: Leaving]
mryandao has joined #bitcoin-wizards
morcos has quit [Ping timeout: 260 seconds]
ghost43 has joined #bitcoin-wizards
tombusby has joined #bitcoin-wizards
morcos has joined #bitcoin-wizards
pinheadmz has joined #bitcoin-wizards
nihui has quit []
AaronvanW has joined #bitcoin-wizards
Barras2 has joined #bitcoin-wizards
surja795 has quit [Ping timeout: 252 seconds]
uiuc-slack has quit [Ping timeout: 246 seconds]
DeanGuss has joined #bitcoin-wizards
uiuc-slack has joined #bitcoin-wizards
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hugohn has joined #bitcoin-wizards
AaronvanW has quit [Remote host closed the connection]
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hugohn has joined #bitcoin-wizards
surja795 has joined #bitcoin-wizards
surja795 has quit [Ping timeout: 245 seconds]
AaronvanW has joined #bitcoin-wizards
AaronvanW has quit [Ping timeout: 252 seconds]
tromp has joined #bitcoin-wizards
tromp has quit [Ping timeout: 258 seconds]
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AaronvanW has joined #bitcoin-wizards
AaronvanW has quit [Remote host closed the connection]
kenshi84_ has joined #bitcoin-wizards
kenshi84 has quit [Ping timeout: 252 seconds]
Barras2 has quit [Remote host closed the connection]
spinza has quit [Quit: Coyote finally caught up with me...]
total1ty has joined #bitcoin-wizards
spinza has joined #bitcoin-wizards
luke-jr has quit [Ping timeout: 252 seconds]
luke-jr has joined #bitcoin-wizards
total1ty has quit []
Dantman has joined #bitcoin-wizards
elichai2 has quit [Quit: Connection closed for inactivity]
queip has quit [Ping timeout: 244 seconds]
rafalcpp has joined #bitcoin-wizards
rafalcpp_ has quit [Ping timeout: 272 seconds]
queip has joined #bitcoin-wizards
sipa has quit [Remote host closed the connection]
sipa has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
sipa has quit [Remote host closed the connection]
sipa has joined #bitcoin-wizards
sipa has quit [Remote host closed the connection]
sipa has joined #bitcoin-wizards
reallll is now known as belcher
tromp has quit [Remote host closed the connection]
tromp has joined #bitcoin-wizards
laptop500 has joined #bitcoin-wizards
belcher has quit [Quit: Leaving]
sipa has quit [Remote host closed the connection]
setpill has joined #bitcoin-wizards
Dantman has quit []
sipa has joined #bitcoin-wizards
visser_ has joined #bitcoin-wizards
TheoStorm has joined #bitcoin-wizards
michaelfolkson has joined #bitcoin-wizards
michaelfolkson has quit [Client Quit]
Emcy has quit [Ping timeout: 244 seconds]
Emcy has joined #bitcoin-wizards
Emcy has quit [Remote host closed the connection]
victorSN has quit [Read error: Connection reset by peer]
rockhouse has quit [Read error: Connection reset by peer]
queip has quit [Ping timeout: 248 seconds]
rafalcpp_ has joined #bitcoin-wizards
rafalcpp has quit [Ping timeout: 252 seconds]
sipa has quit [Remote host closed the connection]
laptop500 has quit [Ping timeout: 252 seconds]
queip has joined #bitcoin-wizards
spinza has quit [Quit: Coyote finally caught up with me...]
sipa has joined #bitcoin-wizards
surja795 has joined #bitcoin-wizards
laptop500 has joined #bitcoin-wizards
surja795 has quit [Ping timeout: 245 seconds]
michaelfolkson has joined #bitcoin-wizards
spinza has joined #bitcoin-wizards
sipa has quit [Remote host closed the connection]
sipa has joined #bitcoin-wizards
shesek has joined #bitcoin-wizards
shesek has quit [Changing host]
shesek has joined #bitcoin-wizards
Emcy has joined #bitcoin-wizards
rockhouse has joined #bitcoin-wizards
victorSN has joined #bitcoin-wizards
michaelfolkson has quit [Quit: Sleep mode]
spinza has quit [Quit: Coyote finally caught up with me...]
michaelfolkson has joined #bitcoin-wizards
mr_burdell has quit [Ping timeout: 268 seconds]
mr_burdell has joined #bitcoin-wizards
shesek has quit [Ping timeout: 272 seconds]
rafalcpp has joined #bitcoin-wizards
rafalcpp_ has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 272 seconds]
queip has joined #bitcoin-wizards
spinza has joined #bitcoin-wizards
michaelfolkson has quit [Quit: Sleep mode]
michaelfolkson has joined #bitcoin-wizards
michaelfolkson has quit [Quit: Sleep mode]
TheoStorm has quit [Quit: Leaving]
visser_ has quit []
mr_burdell has quit [Ping timeout: 248 seconds]
Jayflux has joined #bitcoin-wizards
mr_burdell has joined #bitcoin-wizards
mr_burdell has quit [Ping timeout: 245 seconds]
TheoStorm has joined #bitcoin-wizards
mr_burdell has joined #bitcoin-wizards
e4xit has joined #bitcoin-wizards
mr_burdell has quit [Ping timeout: 245 seconds]
michaelfolkson has joined #bitcoin-wizards
bingbotboom has joined #bitcoin-wizards
mr_burdell has joined #bitcoin-wizards
michaelfolkson has quit [Client Quit]
DeanGuss has quit [Ping timeout: 260 seconds]
michaelfolkson has joined #bitcoin-wizards
hrofu has quit [Quit: in the matrix]
hesghasa_ has joined #bitcoin-wizards
hesghasa_ has quit [Client Quit]
nijak has joined #bitcoin-wizards
hugohn has joined #bitcoin-wizards
hugohn has quit [Client Quit]
Emcy has quit [Remote host closed the connection]
hugohn has joined #bitcoin-wizards
nijak has quit [Client Quit]
elichai2 has joined #bitcoin-wizards
nijak has joined #bitcoin-wizards
laptop500 has quit [Quit: Leaving]
hugohn has quit [Ping timeout: 258 seconds]
bingbotboom has quit [Quit: leaving]
michaelfolkson has quit [Quit: Sleep mode]
michaelfolkson has joined #bitcoin-wizards
AaronvanW has joined #bitcoin-wizards
Guyver2 has joined #bitcoin-wizards
TheoStorm has quit [Quit: Leaving]
hugohn has joined #bitcoin-wizards
michaelfolkson has quit [Quit: Sleep mode]
t-bast has joined #bitcoin-wizards
<t-bast> hey guys, I got a quick MuSig / Scriptless Script question, is anyone available?
<takinbo> t-bast: go ahead and ask your question and if you stick around long enough, someone will respond
<t-bast> cool thanks
<t-bast> I'm looking at https://github.com/apoelstra/scriptless-scripts/blob/master/md/multi-hop-locks.md and I'm wondering how much it impacts latency by imposing additional roundtrips between participants
<t-bast> My main question is: is it safe to re-use a MuSig nonce (R) once collaboratively generated to sign multiple messages?
TheoStorm has joined #bitcoin-wizards
<t-bast> in the multi-hop-locks example, if each pair of participants needs to generate R only once and can then re-use it for each HTLC, it's great
<t-bast> if they need to re-generate a shared nonce for each HTLC, it becomes very expensive
TheoStorm has quit [Client Quit]
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<t-bast> it seems to me that participants can safely re-use a nonce for signing multiple messages safely, but I can't prove it and I didn't find a section in the MuSig paper talking about this
hugohn has joined #bitcoin-wizards
<t-bast> hum actually scratch that, it looks like re-using nonce with schnorr signature almost trivially reveals the private key if the attacker knows both messages...
<nickler> A nonce is an arbitrary number that can be used just once. Please don't reuse it in scriptless scripts, ecdsa signatures or anywhere else.
<t-bast> so each "add 2-of-2 MuSig() output with timelocked refund" arrow means that you have to do to 3 roundtrips right? 2 to generate a new MuSig nonce and then the arrows displayed on the picture?
CryptoDavid has joined #bitcoin-wizards
<t-bast> thx for your answer, I agree that usually nonces should never be re-used but I stumbled upon this paper which allows nonce re-use with Schnorr, so I was hoping it would be somehow possible: https://eprint.iacr.org/2018/069.pdf
<t-bast> because otherwise I'm really concerned with the latency hit it imposes on lightning payments...
<nickler> t-bast: the first round, exchanging nonce commitments can be done earlier whenever there's time for it
mr_burdell has quit [Ping timeout: 245 seconds]
mr_burdell has joined #bitcoin-wizards
michaelfolkson has joined #bitcoin-wizards
<t-bast> nickler: good point, correct me if I'm wrong but nothing prevents two channels participants to generate multiple nonces at once right? I'm thinking that at channel creation the two channel participants could generate a batch of X nonces (with only 2 round trips) and then slowly using them as HTLCs come in
<t-bast> nickler: and when the reserve of nonces is getting low they could generate a next batch of nonces
<t-bast> nickler: btw you're only mentioning the first round (commitments) but it should be safe to exchange the nonces themselves ahead of time too right?
ccdle12 has joined #bitcoin-wizards
<nickler> I thought so too, but in general, no. The nonces can only be revealed once the message is known otherwise the attacker can use "Wagner's attack" https://github.com/ElementsProject/secp256k1-zkp/pull/73
<nickler> but thanks for mentioning the roundtrips, I'll update the diagram
michaelfolkson has quit [Quit: Sleep mode]
<t-bast> Interesting, thanks for mentioning that. The attacker (channel participant) would probably be able to grind HTLCs by trying a lot of amounts until it successfully executes wagner's attack, and then can use that HTLC on the other participant...
emilengler has joined #bitcoin-wizards
<t-bast> But at least the commitments can be pre-generated, that's one less roundtrip during the payment ;)
<t-bast> thanks for your answers nickler
jason_ has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
jason has joined #bitcoin-wizards
jason is now known as Guest61179
Jayflux has quit []
Emcy has joined #bitcoin-wizards
<nickler> fwiw the nonce-reuse paper doesn't apply to secp256k1 because there are no subgroups. Also requires signatures to be larger
TheoStorm has joined #bitcoin-wizards
TheoStorm has quit [Remote host closed the connection]
setpill has quit [Quit: o/]
<t-bast> yeah, I was thinking that it would be too good to be true if it could be easily adapted to secp256k1 and without any cost...but wanted to mention it just in case ;)
pinheadmz has quit [Quit: pinheadmz]
Emcy_ has joined #bitcoin-wizards
michaelsdunn1 has joined #bitcoin-wizards
michaelsdunn1 has quit [Changing host]
michaelsdunn1 has joined #bitcoin-wizards
AaronvanW has quit []
Emcy has quit [Ping timeout: 252 seconds]
mr_burdell has quit [Ping timeout: 272 seconds]
kaimi1 has joined #bitcoin-wizards
mr_burdell has joined #bitcoin-wizards
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dgenr8 has joined #bitcoin-wizards
hugohn has joined #bitcoin-wizards
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hugohn has joined #bitcoin-wizards
vtnerd has quit [Ping timeout: 244 seconds]
t-bast has quit [Quit: Leaving]
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TheoStorm has joined #bitcoin-wizards
TheoStorm has quit [Remote host closed the connection]
vtnerd has joined #bitcoin-wizards
pinheadmz has joined #bitcoin-wizards
michaelfolkson has joined #bitcoin-wizards
TheoStorm has joined #bitcoin-wizards
TheoStorm has quit [Remote host closed the connection]
rafalcpp_ has joined #bitcoin-wizards
rafalcpp has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 244 seconds]
jtimon has joined #bitcoin-wizards
queip has joined #bitcoin-wizards
luke-jr has quit [Ping timeout: 244 seconds]
luke-jr has joined #bitcoin-wizards
riclas has joined #bitcoin-wizards
belcher has joined #bitcoin-wizards
pinheadmz has quit [Quit: pinheadmz]
pinheadmz has joined #bitcoin-wizards
pinheadmz has quit [Client Quit]
michaelfolkson has quit [Quit: Sleep mode]
Jaamg_ has joined #bitcoin-wizards
jcv_ has joined #bitcoin-wizards
tynes has joined #bitcoin-wizards
jcv has quit [Ping timeout: 258 seconds]
Jaamg has quit [Ping timeout: 258 seconds]
phantomcircuit has quit [Ping timeout: 258 seconds]
tynes_ has quit [Ping timeout: 258 seconds]
phantomcircuit has joined #bitcoin-wizards
kaimi1 has quit []
hugohn has joined #bitcoin-wizards
MTecknology1 has joined #bitcoin-wizards
pinheadmz has joined #bitcoin-wizards
pinheadmz has quit [Client Quit]
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thomasan_ has joined #bitcoin-wizards
hugohn has joined #bitcoin-wizards
thomasan_ has quit [Remote host closed the connection]
rafalcpp has joined #bitcoin-wizards
queip has quit [Ping timeout: 245 seconds]
rafalcpp_ has quit [Ping timeout: 258 seconds]
queip has joined #bitcoin-wizards
pinheadmz has joined #bitcoin-wizards
pinheadmz has quit [Client Quit]
pinheadmz has joined #bitcoin-wizards
pinheadmz has quit [Client Quit]
pinheadmz has joined #bitcoin-wizards
hugohn has quit [Read error: Connection reset by peer]
pinheadmz has quit [Quit: pinheadmz]
asok_ has quit [Quit: leaving]
Emcy_ has quit [Ping timeout: 246 seconds]
Emcy_ has joined #bitcoin-wizards
hugohn has joined #bitcoin-wizards
asok has joined #bitcoin-wizards
asok has quit [Client Quit]
asok has joined #bitcoin-wizards
starsoccer has quit [Ping timeout: 246 seconds]
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stiell has quit [Ping timeout: 245 seconds]
belcher has quit [Quit: Leaving]
stiell has joined #bitcoin-wizards
thomasan_ has joined #bitcoin-wizards
e4xit has quit [Quit: quit]
stiell has quit [Ping timeout: 245 seconds]
thomasan_ has quit [Ping timeout: 258 seconds]
stiell has joined #bitcoin-wizards
hugohn has joined #bitcoin-wizards
TheoStorm has joined #bitcoin-wizards
ccdle12 has quit [Remote host closed the connection]
emilengler has quit [Remote host closed the connection]
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
StopAndDecrypt has quit [Ping timeout: 245 seconds]
StopAndDecrypt has joined #bitcoin-wizards
StopAndDecrypt has quit [Changing host]
StopAndDecrypt has joined #bitcoin-wizards
TheoStorm has quit [Quit: Leaving]
MTecknology1 has quit []
TheoStorm has joined #bitcoin-wizards
e4xit has joined #bitcoin-wizards
pinheadmz has joined #bitcoin-wizards
stiell has quit [Ping timeout: 245 seconds]
stiell has joined #bitcoin-wizards
pinheadmz has quit [Quit: pinheadmz]
rafalcpp_ has joined #bitcoin-wizards
rafalcpp has quit [Ping timeout: 272 seconds]
queip has quit [Ping timeout: 248 seconds]
yano1 has joined #bitcoin-wizards
queip has joined #bitcoin-wizards
starsoccer has joined #bitcoin-wizards
ratbanebo has joined #bitcoin-wizards
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hugohn has joined #bitcoin-wizards
michaelsdunn1 has quit [Remote host closed the connection]
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hugohn has joined #bitcoin-wizards
hugohn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Zenton has quit [Ping timeout: 246 seconds]
pinheadmz has joined #bitcoin-wizards
pinheadmz has quit [Client Quit]
spinza has quit [Quit: Coyote finally caught up with me...]
TheoStorm has quit [Quit: Leaving]
spinza has joined #bitcoin-wizards
ratbanebo has quit [Ping timeout: 245 seconds]
Alanius has quit [Remote host closed the connection]
pinheadmz has joined #bitcoin-wizards
pinheadmz has quit [Client Quit]
surja795 has joined #bitcoin-wizards