Closed dwtj closed 9 years ago
While refactoring stuff, I put this function to use in one or two places, but I bet that there are more.
Also, I feel like signing_key_to_sha1()
should be moved from util.tools
to crypto.util
.
Yea, basically anytime we need to send a signing_key
, we need to call this function. It's not really a crypto thing, but it can go there if you think it makes sense.
Various places in the
crypto
code turn signing keys to sha1 hashes using an unclear trick. Start using thesigning_key_to_sha1()
function instead.