Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
feat: add ECDSA secp256k1 to the list of supported algorithms (#120)
PiperOrigin-RevId: 379309757

Source-Link: googleapis/googleapis@8d1d669

Source-Link: googleapis/googleapis-gen@b2d98d7
  • Loading branch information
gcf-owl-bot[bot] committed Jun 14, 2021
1 parent 172b506 commit 65a453f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Expand Up @@ -2,7 +2,6 @@
branch = True

[report]
fail_under = 100
show_missing = True
omit =
google/cloud/kms/__init__.py
Expand Down
Expand Up @@ -2242,7 +2242,8 @@ async def update_crypto_key_primary_version(
[CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in
[Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
Returns an error if called on an asymmetric key.
Returns an error if called on a key whose purpose is not
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
Args:
Expand Down
Expand Up @@ -2333,7 +2333,8 @@ def update_crypto_key_primary_version(
[CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in
[Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
Returns an error if called on an asymmetric key.
Returns an error if called on a key whose purpose is not
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
Args:
Expand Down
Expand Up @@ -831,7 +831,8 @@ def update_crypto_key_primary_version(
[CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in
[Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
Returns an error if called on an asymmetric key.
Returns an error if called on a key whose purpose is not
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
Returns:
Callable[[~.UpdateCryptoKeyPrimaryVersionRequest],
Expand Down
Expand Up @@ -859,7 +859,8 @@ def update_crypto_key_primary_version(
[CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in
[Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
Returns an error if called on an asymmetric key.
Returns an error if called on a key whose purpose is not
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
Returns:
Callable[[~.UpdateCryptoKeyPrimaryVersionRequest],
Expand Down
1 change: 1 addition & 0 deletions google/cloud/kms_v1/types/resources.py
Expand Up @@ -387,6 +387,7 @@ class CryptoKeyVersionAlgorithm(proto.Enum):
RSA_DECRYPT_OAEP_4096_SHA512 = 17
EC_SIGN_P256_SHA256 = 12
EC_SIGN_P384_SHA384 = 13
EC_SIGN_SECP256K1_SHA256 = 31
EXTERNAL_SYMMETRIC_ENCRYPTION = 18

class CryptoKeyVersionState(proto.Enum):
Expand Down

0 comments on commit 65a453f

Please sign in to comment.