--- Day changed Mon Apr 03 2017 00:33 -!- aburan [~androirc@2600:380:8431:1d35:b57e:330a:6646:1ffc] has joined #secp256k1 00:43 -!- midnightmagic [~midnightm@unaffiliated/midnightmagic] has quit [Ping timeout: 240 seconds] 00:43 -!- midnightmagic [~midnightm@unaffiliated/midnightmagic] has joined #secp256k1 06:27 -!- arubi [~ese168@gateway/tor-sasl/ese168] has quit [Ping timeout: 240 seconds] 06:28 -!- arubi [~ese168@gateway/tor-sasl/ese168] has joined #secp256k1 07:09 -!- aburan [~androirc@2600:380:8431:1d35:b57e:330a:6646:1ffc] has quit [Ping timeout: 246 seconds] 09:09 -!- ofek [~Ofekmeist@pool-71-121-186-199.bltmmd.fios.verizon.net] has quit [Quit: Leaving] 09:13 -!- droark [~droark@c-24-22-123-27.hsd1.or.comcast.net] has joined #secp256k1 11:41 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Excess Flood] 11:42 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #secp256k1 11:46 -!- lukedashjr is now known as luke-jr 12:10 -!- ofek [~Ofekmeist@pool-71-121-186-199.bltmmd.fios.verizon.net] has joined #secp256k1 12:12 < ofek> what is the difference between secp256k1_ecdsa_sign and secp256k1_ecdsa_sign_recoverable? 12:17 < sipa> one produces a signature, the other procduces a recoverable signature 12:18 < ofek> sipa, why would one want the latter? 12:19 < sipa> if you want to recover the public key from the signature and message 12:21 < ofek> sipa, is it slower to compute the recoverable signature? 12:21 < sipa> no 12:22 < sipa> but it's not standard in any way 12:23 < ofek> sipa, oh ok so for signing txns I should just stick to using regular signatures with secp256k1_ecdsa_sign? 12:24 < sipa> yes 12:24 < ofek> thanks very much! 12:29 < sipa> also, there is no function to serialize a OBbut that just depends on the serialization 16:07 < ofek> sipa, is there a function to convert a private key to der? 17:07 -!- midnightmagic [~midnightm@unaffiliated/midnightmagic] has quit [Ping timeout: 240 seconds] 17:17 < sipa> ofek: yes, but why would you want to? 17:27 -!- midnightmagic [~midnightm@unaffiliated/midnightmagic] has joined #secp256k1 17:32 -!- midnightmagic [~midnightm@unaffiliated/midnightmagic] has quit [Excess Flood] 17:33 -!- midnightmagic [~midnightm@unaffiliated/midnightmagic] has joined #secp256k1 18:06 < ofek> sipa, to get pem 18:06 < sipa> why? 18:06 < ofek> which function? 18:08 < ofek> sipa, my users expect to be able to get private key serialized to der and pem 18:09 < sipa> why? 18:09 < sipa> it's in contrib/ 18:12 < ofek> sipa, nice tyvm 18:13 -!- midnightmagic [~midnightm@unaffiliated/midnightmagic] has quit [Ping timeout: 260 seconds] 18:13 < sipa> please read all the disclaimers in that file 18:13 < sipa> it's very hacky code 18:15 < ofek> sipa, basically for https://github.com/ofek/bit I'm switching from openssl to libsecp256k1. since the backend exposed it, so did I 18:15 < ofek> perhaps a mistake 18:16 < ofek> https://github.com/ofek/bit/blob/master/bit/wallet.py#L110 18:25 < ofek> sipa, actually since I'm pre-1.0.0 I'll just deprecate that functionality 18:26 < ofek> tyvm :) 18:29 -!- midnightmagic [~midnightm@unaffiliated/midnightmagic] has joined #secp256k1 19:14 -!- midnightmagic [~midnightm@unaffiliated/midnightmagic] has quit [Ping timeout: 240 seconds] 19:37 -!- midnightmagic [~midnightm@unaffiliated/midnightmagic] has joined #secp256k1 21:51 < ofek> how would I include the contrib directory in build? 21:53 < sipa> you don't 21:53 < ofek> ah, ok 21:54 < sipa> you use it as the basis for a sane piece of code, and then build that yourself 21:54 < sipa> it's only included for demonstration purposes 21:54 < sipa> it's alsmost certainly not something you want to use without modifications 21:56 < ofek> ok thanks. yeah it's too much work honestly. I'll for sure drop those features now 22:08 -!- zmanian___ [sid113594@gateway/web/irccloud.com/x-oxvglipoluxtmzpl] has joined #secp256k1 22:14 -!- Netsplit *.net <-> *.split quits: isle2983, Lightsword, zmanian__ 22:15 -!- Lightsword [~Lightswor@107.170.253.193] has joined #secp256k1 22:20 -!- Netsplit over, joins: isle2983