We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd34d7 commit 3482068Copy full SHA for 3482068
sigstore/_internal/key_details.py
@@ -43,9 +43,7 @@ def _get_key_details(certificate: Certificate) -> v1.PublicKeyDetails:
43
else:
44
raise ValueError(f"Unsupported EC curve: {public_key.curve.name}")
45
elif isinstance(public_key, rsa.RSAPublicKey):
46
- if public_key.key_size == 2048:
47
- raise ValueError("Unsupported RSA key size: 2048")
48
- elif public_key.key_size == 3072:
+ if public_key.key_size == 3072:
49
if isinstance(params, padding.PKCS1v15):
50
key_details = v1.PublicKeyDetails.PKIX_RSA_PKCS1V15_3072_SHA256
51
elif isinstance(params, padding.PSS):
0 commit comments