Skip to content

Commit e4b9bb2

Browse files
committed
GCPSigner: Use "ecdsa" as keytype
The more specific keytypes may get deprecated at some point.
1 parent b220c42 commit e4b9bb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

securesystemslib/signer/_gcp_signer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ def _get_keytype_and_scheme(algorithm: int) -> Tuple[str, str]:
114114
"""Return keytype and scheme for the KMS algorithm enum"""
115115
keytypes_and_schemes = {
116116
CryptoKeyVersion.CryptoKeyVersionAlgorithm.EC_SIGN_P256_SHA256: (
117-
"ecdsa-sha2-nistp256",
117+
"ecdsa",
118118
"ecdsa-sha2-nistp256",
119119
),
120120
CryptoKeyVersion.CryptoKeyVersionAlgorithm.EC_SIGN_P384_SHA384: (
121-
"ecdsa-sha2-nistp384",
121+
"ecdsa",
122122
"ecdsa-sha2-nistp384",
123123
),
124124
CryptoKeyVersion.CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256: (

0 commit comments

Comments
 (0)