diff --git a/src/sign.rs b/src/sign.rs index ef00bb0dd05f22255f89352f6197feb12a83f1ee..fcf53ec2db8ea47a93f44058311b3843497e25f7 100644 --- a/src/sign.rs +++ b/src/sign.rs @@ -308,14 +308,14 @@ impl SignKey { }; - { - // Faults in signing can expose the private key. We verify the signature - // just created to avoid this problem. - // TODO: Maybe this needs to be configurable for slow platforms? - let vsig: Signature = (&sig).into(); - let sig_type = vsig.sig_type().unwrap(); - sig_type.verify(&self.pubkey(), msg, &vsig, parse_ctx)?; - } + // { + // // Faults in signing can expose the private key. We verify the signature + // // just created to avoid this problem. + // // TODO: Maybe this needs to be configurable for slow platforms? + // let vsig: Signature = (&sig).into(); + // let sig_type = vsig.sig_type().unwrap(); + // sig_type.verify(&self.pubkey(), msg, &vsig, parse_ctx)?; + // } Ok(sig) }