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
tfreedman[m] has quit [Remote host closed the connection]
kewde[m] has quit [Remote host closed the connection]
azdrianz[m] has quit [Remote host closed the connection]
Jeremy_Rand_Talo has quit [Remote host closed the connection]
TheFuzzStone[m] has quit [Remote host closed the connection]
Jeremy_Rand[m] has quit [Read error: Connection reset by peer]
herzmeister[m] has quit [Read error: Connection reset by peer]
thomasan_ has joined #bitcoin-wizards
thomasan_ has quit [Remote host closed the connection]
Jeremy_Rand[m] has joined #bitcoin-wizards
spinza has joined #bitcoin-wizards
TheFuzzStone[m] has joined #bitcoin-wizards
Jeremy_Rand_Talo has joined #bitcoin-wizards
kewde[m] has joined #bitcoin-wizards
azdrianz[m] has joined #bitcoin-wizards
herzmeister[m] has joined #bitcoin-wizards
tfreedman[m] has joined #bitcoin-wizards
thomasan_ has joined #bitcoin-wizards
wxss_ has quit [Ping timeout: 264 seconds]
thomasan_ has quit [Ping timeout: 268 seconds]
Chris_Stewart_5 has joined #bitcoin-wizards
wxss has joined #bitcoin-wizards
_whitelogger has joined #bitcoin-wizards
thomasan_ has joined #bitcoin-wizards
Chris_Stewart_5 has quit [Ping timeout: 252 seconds]
michaelsdunn1 has quit [Remote host closed the connection]
dougsland has joined #bitcoin-wizards
fkinglag has quit [Remote host closed the connection]
fkinglag has joined #bitcoin-wizards
JackH has quit [Ping timeout: 250 seconds]
morcos has quit [Remote host closed the connection]
ghost43 has quit [Remote host closed the connection]
ghost43 has joined #bitcoin-wizards
morcos has joined #bitcoin-wizards
drexl_ has quit [Quit: drexl_]
JackH has joined #bitcoin-wizards
son0p has quit [Remote host closed the connection]
assaf has quit [Ping timeout: 268 seconds]
assaf has joined #bitcoin-wizards
Chris_Stewart_5 has quit [Ping timeout: 240 seconds]
fabianfabian has joined #bitcoin-wizards
treyzania has quit [Quit: ZNC 1.6.6 - http://znc.in]
nuncanada has joined #bitcoin-wizards
nuncanada has quit [Client Quit]
treyzania has joined #bitcoin-wizards
<arubi>
DAE sighash_noinput? one of the nice things (imo) that you could do with it is create a scriptpubkey like '<signature>[noinput] <pubkey> checksig' that acts like a covenant. signatures themselves are also pretty cool, and it appears that if you have two messages that you'd like to sign, then you can choose a nonce and private key in such a way that a single singature will validate both messages for the same pubkey.
<arubi>
if we choose the pubkey\sig by doing this trick, then we can have a covenant with an embedded, hidden if\else clause, and there's a dubious "feature" too, revealing one if\else "branch" (e.g. spending the covenant) is fine, but by revealing both messages discloses the private key! (arguably - this doesn't change the security of the covenant itself)
<arubi>
toying with this, I wrote a short post on how to use this for something like a coinswap (one party uses this covenant, second party uses a normal 2of2 multisig) https://gist.github.com/fivepiece/1371ac9ca32d70c59ef47cbee6eed4ec , would be interested if anybody else has other novel ideas for noinput
<sipa>
arubi: that needs a self-signed signature?
<arubi>
nope
<arubi>
if anything, neither the pubkey or the sig are signed. we just let the script execute
<sipa>
how will the sPK '<signature>[noinput] <pubkey> checksig' succeed then?
<arubi>
it will succeed if the correct spend is tried. only two spends are valid
<arubi>
I mean, only two possible messages validate under this sig and pubkey
<arubi>
you choose the messages before choosing nonce and deriving the privkey to match for the two messages
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<sipa>
oh because with noinput you don't sign the sPK itself; of course
treyzania has quit [Quit: ZNC 1.6.6 - http://znc.in]
<arubi>
yep
Chris_Stewart_5 has joined #bitcoin-wizards
meeh has quit [Ping timeout: 246 seconds]
elichai2 has quit [Quit: Connection closed for inactivity]
Jaamg_ has quit [Ping timeout: 272 seconds]
Jaamg_ has joined #bitcoin-wizards
meeh has joined #bitcoin-wizards
assaf has quit [Ping timeout: 268 seconds]
assaf has joined #bitcoin-wizards
kristofferR has joined #bitcoin-wizards
grzs has joined #bitcoin-wizards
treyzania has joined #bitcoin-wizards
michaelsdunn1 has joined #bitcoin-wizards
sipa has quit [Remote host closed the connection]
sipa has joined #bitcoin-wizards
enemabandit has joined #bitcoin-wizards
phwalkr has joined #bitcoin-wizards
go1111111 has quit [Ping timeout: 260 seconds]
phwalkr has quit [Remote host closed the connection]
phwalkr has joined #bitcoin-wizards
phwalkr has quit [Ping timeout: 268 seconds]
spinza has quit [Ping timeout: 268 seconds]
Guyver2 has joined #bitcoin-wizards
phwalkr has joined #bitcoin-wizards
phwalkr has quit [Ping timeout: 250 seconds]
assaf has quit [Read error: Connection reset by peer]
go1111111 has joined #bitcoin-wizards
Guest77842 has quit [Ping timeout: 264 seconds]
<andytoshi>
RubenSomsen: not sign-to-contract, you can't encrypt data that way
<andytoshi>
you can use the "rewinding" technique from the old-school rangeproofs where you generate all your randomness deterministically then xor extra data into that
nuncanada has joined #bitcoin-wizards
rh0nj has quit [Remote host closed the connection]