Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions kms/google/cloud/kms_v1/gapic/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ class AttestationFormat(enum.IntEnum):
ATTESTATION_FORMAT_UNSPECIFIED (int)
CAVIUM_V1_COMPRESSED (int): Cavium HSM attestation compressed with gzip. Note that this format is
defined by Cavium and subject to change at any time.
CAVIUM_V2_COMPRESSED (int): Cavium HSM attestation V2 compressed with gzip. This is a new format
Introduced in Cavium's version 3.2-08
"""

ATTESTATION_FORMAT_UNSPECIFIED = 0
CAVIUM_V1_COMPRESSED = 3
CAVIUM_V2_COMPRESSED = 4
4 changes: 4 additions & 0 deletions kms/google/cloud/kms_v1/proto/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ message KeyOperationAttestation {
// Cavium HSM attestation compressed with gzip. Note that this format is
// defined by Cavium and subject to change at any time.
CAVIUM_V1_COMPRESSED = 3;

// Cavium HSM attestation V2 compressed with gzip. This is a new format
// Introduced in Cavium's version 3.2-08
CAVIUM_V2_COMPRESSED = 4;
}

// Output only. The format of the attestation data.
Expand Down
37 changes: 22 additions & 15 deletions kms/google/cloud/kms_v1/proto/resources_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions kms/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ def blacken(session):
"""Run black.

Format code to uniform standard.

This currently uses Python 3.6 due to the automated Kokoro run of synthtool.
That run uses an image that doesn't have 3.6 installed. Before updating this
check the state of the `gcp_ubuntu_config` we use for that Kokoro run.
"""
session.install("black")
session.run(
Expand Down
10 changes: 5 additions & 5 deletions kms/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-02-02T13:21:37.782777Z",
"updateTime": "2019-02-20T18:08:35.555340Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.8",
"dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7"
"version": "0.16.13",
"dockerImage": "googleapis/artman@sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a",
"internalRef": "231974277"
"sha": "18ab81eec27942a942622d5a8d9c9e7a202e8c16",
"internalRef": "234814197"
}
},
{
Expand Down