--- Log opened Thu Sep 19 00:00:15 2019 02:15 -!- elichai2 [uid212594@gateway/web/irccloud.com/x-hvxettnarofpvnmf] has joined #secp256k1 02:26 -!- jonatack [~jon@2a01:e35:8aba:8220:6627:dad:d967:649d] has quit [Ping timeout: 276 seconds] 02:51 -!- jonatack [~jon@54.76.13.109.rev.sfr.net] has joined #secp256k1 03:50 -!- reallll [~belcher@unaffiliated/belcher] has joined #secp256k1 03:54 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 268 seconds] 05:30 -!- jonatack [~jon@54.76.13.109.rev.sfr.net] has quit [Ping timeout: 246 seconds] 06:09 -!- jonatack [~jon@2a01:e35:8aba:8220:6627:dad:d967:649d] has joined #secp256k1 06:31 -!- reallll is now known as belcher 07:54 -!- arubi [~ese168@gateway/tor-sasl/ese168] has quit [Remote host closed the connection] 07:55 -!- arubi [~ese168@gateway/tor-sasl/ese168] has joined #secp256k1 08:00 -!- nsh [~lol@wikipedia/nsh] has joined #secp256k1 09:31 -!- ddustin [~ddustin@unaffiliated/ddustin] has joined #secp256k1 09:32 -!- ddustin [~ddustin@unaffiliated/ddustin] has quit [Read error: Connection reset by peer] 09:32 -!- ddustin [~ddustin@unaffiliated/ddustin] has joined #secp256k1 10:29 -!- Ofekmeister [44864316@pool-68-134-67-22.bltmmd.fios.verizon.net] has joined #secp256k1 10:32 < Ofekmeister> can one derive the pubkey from a message and a normal non-recoverable sig? 10:33 < Ofekmeister> derive/verify 10:34 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 268 seconds] 10:34 < Ofekmeister> or must I attempt each valid recid https://github.com/bitcoin-core/secp256k1/blob/96cd94e385f64c1936abf0d1e303d12d0f5da980/include/secp256k1_recovery.h#L34 10:35 < Ofekmeister> and if all fail then it wasn't signed by that pubkey 10:40 < sipa> if you know the public up front, you can just verify against it directly 10:40 < sipa> *public key 10:40 < sipa> if you don't, the statement is meaningless 10:41 < sipa> or rather, you need some way to determine whether one of the pubkeys that come out of the recovery algorithms matches the one you expect a signature with 10:41 -!- belcher [~belcher@unaffiliated/belcher] has joined #secp256k1 10:48 < Ofekmeister> sipa: good point. all I have is the address 10:49 < Ofekmeister> basically, https://github.com/ofek/bit/issues/87 10:49 < sipa> yes, then that works 10:49 < sipa> it's how message signing in bitcoin works 10:51 < Ofekmeister> sipa: sorry, do you mean my strategy of trying each recid will suffice? 10:51 -!- cfields [~cfields@unaffiliated/cfields] has joined #secp256k1 10:58 < Ofekmeister> it looks like they want to verify a message, given the message and address instead of the message and signature 12:50 < andytoshi> yes, you can just try every recid 13:06 -!- MrBismuth [~ArcMrBism@2600:6c58:4200:ad9:4479:369a:ec9a:4eb8] has quit [Read error: Connection reset by peer] 13:32 -!- MrBismuth [~ArcMrBism@2600:6c58:4200:ad9:50d3:2974:4353:5b98] has joined #secp256k1 16:51 -!- cfields [~cfields@unaffiliated/cfields] has quit [Quit: cfields] 17:05 -!- cfields [~cfields@unaffiliated/cfields] has joined #secp256k1 17:23 -!- cfields [~cfields@unaffiliated/cfields] has quit [Quit: cfields] 17:23 -!- cfields [~cfields@unaffiliated/cfields] has joined #secp256k1 17:34 -!- ddustin [~ddustin@unaffiliated/ddustin] has quit [Remote host closed the connection] 17:34 -!- ddustin [~ddustin@unaffiliated/ddustin] has joined #secp256k1 17:39 -!- ddustin [~ddustin@unaffiliated/ddustin] has quit [Ping timeout: 258 seconds] 20:14 < Ofekmeister> thanks! 20:14 -!- Ofekmeister [44864316@pool-68-134-67-22.bltmmd.fios.verizon.net] has quit [Remote host closed the connection] --- Log closed Fri Sep 20 00:00:17 2019