Skip to content

Commit a0e8ddd

Browse files
pedroysbparthea
authored andcommitted
docs(samples): fix typo in verify_asymmetric_ec.py (#227)
Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent df10185 commit a0e8ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kms/snippets/verify_asymmetric_ec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def verify_asymmetric_ec(project_id, location_id, key_ring_id, key_id, version_i
5555
# Get the public key.
5656
public_key = client.get_public_key(request={'name': key_version_name})
5757

58-
# Extract and parse the public key as a PEM-encoded RSA key.
58+
# Extract and parse the public key as a PEM-encoded EC key.
5959
pem = public_key.pem.encode('utf-8')
6060
ec_key = serialization.load_pem_public_key(pem, default_backend())
6161
hash_ = hashlib.sha256(message_bytes).digest()

0 commit comments

Comments
 (0)