Hi, Is there a way to generate deterministic ECDSA signatures? With the following code I get a different signature each time: eckey = default_backend().load_pem_private_key(pkey_pem, password=None) eckey.sign('test', ec.ECDSA(hashes.SHA256()))
But to implement signing code compliant with RFC6962-bis (section 12.4, draft 21: https://tools.ietf.org/html/draft-ietf-trans-rfc6962-bis-21#section-12.4) the signature produced has to be the same every time. Thanks, Eran
_______________________________________________ Cryptography-dev mailing list Cryptography-dev@python.org https://mail.python.org/mailman/listinfo/cryptography-dev