--- Log opened Sun Oct 24 00:00:12 2021 01:41 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 244 seconds] 01:52 -!- belcher [~belcher@user/belcher] has joined #bitcoin-rust 07:23 < andytoshi> the context is not involved in decoding at all 07:24 < andytoshi> so "zero risk" to the extent i understand the question 07:50 -!- tibo [~tibo@240d:1a:afa:1d00:19ca:8913:baa4:e1ae] has joined #bitcoin-rust 07:50 -!- tibo [~tibo@240d:1a:afa:1d00:19ca:8913:baa4:e1ae] has quit [Remote host closed the connection] 08:11 < elsirion> andytoshi: I think it is used in keypair_create (at least the ecmult_gen_ctx part) 08:12 < elsirion> afaiu to generate the pub key from the secret key to be cached in the KeyPair 08:12 < elsirion> so it _is_ handling private key material 08:13 < elsirion> I probably could (de)serialize SecreKeys and convert to KeyPairs where needed … 09:51 -!- tibo [~tibo@240d:1a:afa:1d00:19ca:8913:baa4:e1ae] has joined #bitcoin-rust 09:55 -!- tibo [~tibo@240d:1a:afa:1d00:19ca:8913:baa4:e1ae] has quit [Ping timeout: 252 seconds] 10:08 < andytoshi> elsirion: so, if you are _decoding_ a keypair then i think the pubkey would be included? 10:09 < andytoshi> maybe not, maybe i don't remember this api 10:09 < andytoshi> and it needs to be generated during parsing 10:27 -!- valwal [~valwal@70.107.207.192] has joined #bitcoin-rust 13:17 -!- BlueMatt [~BlueMatt@ircb.bluematt.me] has quit [Ping timeout: 264 seconds] 13:21 < elsirion> andytoshi: right, you _could_ probably save it too, but a) this functionality isn't really exposed in the API today and b) you'd still have to check that pub and sec key match, which is probably just as expensive/needs a context 13:22 < elsirion> otherwise all kinds of things could go wrong, the KeyPair type exists for a reason I imagine 13:33 -!- BlueMatt [~BlueMatt@ircb.bluematt.me] has joined #bitcoin-rust 13:40 -!- BlueMatt [~BlueMatt@ircb.bluematt.me] has quit [Ping timeout: 245 seconds] 13:48 -!- BlueMatt [~BlueMatt@ircb.bluematt.me] has joined #bitcoin-rust 17:23 -!- tibo [~tibo@240d:1a:afa:1d00:897e:1fa0:2bb3:911] has joined #bitcoin-rust 19:40 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 244 seconds] 19:53 -!- belcher [~belcher@user/belcher] has joined #bitcoin-rust 22:00 -!- Netsplit *.net <-> *.split quits: jrawsthorne_, blkncd, lightningbot, jetpack 22:00 -!- blkncd [sid505676@id-505676.helmsley.irccloud.com] has joined #bitcoin-rust 22:00 -!- jrawsthorne [~jrawsthor@static.235.41.217.95.clients.your-server.de] has joined #bitcoin-rust 22:01 -!- Netsplit over, joins: jetpack 22:04 -!- lightningbot [~supybot@2400:8901::f03c:91ff:febb:bbc1] has joined #bitcoin-rust --- Log closed Mon Oct 25 00:00:13 2021