Skip to content

Commit

Permalink
Update the proto comments to make it clear idevid is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
melzhan committed Sep 17, 2024
1 parent 560ec35 commit 5eef834
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions proto/tpm_attestz.proto
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ message AttestResponse {
bytes quote_signature = 5;

// [Optional] PEM-encoded owner initial DevID certificate signed by the
// switch owner/administrator CA. This field should only be populated for
// standby/secondary control card.
// switch owner/administrator CA. This field may only be populated for
// the standby/secondary control card.
string oidevid_cert = 6;
}

Expand Down
5 changes: 3 additions & 2 deletions proto/tpm_enrollz.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ message RotateOIakCertRequest {
// switch owner/administrator CA.
string oiak_cert = 2;

// PEM-encoded owner initial DevID certificate signed by the
// switch owner/administrator CA.
// [Optional] PEM-encoded owner initial DevID certificate signed by the
// switch owner/administrator CA. Will be empty if `idevid_cert` was not
// provided in GetIakCertResponse earlier in the workflow.
string oidevid_cert = 3;

// SSL profile for which the certs will be assigned.
Expand Down

0 comments on commit 5eef834

Please sign in to comment.