We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, we can remove ecdsa dependency by using piece of code below instead ...
# Verify that the signature matches the signed data. my_ec = ec.EllipticCurvePublicKey.from_encoded_point(ec.SECP256R1(), leaf_cert.public_key['public_key'].native) try: # leaf_cert.hash_algo is sha256 if leaf_cert.hash_algo == 'sha256': my_hash = hashes.SHA256() my_ec.verify(sig_octets, signed_attrs_ber, ec.ECDSA(my_hash)) except InvalidSignature: return False
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
we can remove ecdsa dependency by using piece of code below instead ...
The text was updated successfully, but these errors were encountered: