Signature::hash_* should be fallible
First, this is a precondition for #1011. Second, I think these functions should check the signature type, and refuse hashing a direct key signatures when Signature::hash_userid_binding
is invoked.
First, this is a precondition for #1011. Second, I think these functions should check the signature type, and refuse hashing a direct key signatures when Signature::hash_userid_binding
is invoked.