generated from martinthomson/internet-draft-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix the compile warnings of too long lines
- Loading branch information
1 parent
0f4e45e
commit 50df1ef
Showing
1 changed file
with
31 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,9 +27,11 @@ module ietf-tpm-remote-attestation-stream { | |
<mailto:[email protected]>"; | ||
|
||
description | ||
"This module contains YANG specification for subscribing | ||
to attestation streams which contain events that | ||
have been generated by TPM chips. | ||
"This module contains YANG specification for subscribing | ||
to attestation streams which contain events that have | ||
been generated by TPM chips or equivalent hardware | ||
implementations that include the protected capabilities | ||
as provided by TPMs. | ||
Copyright (c) 2024 IETF Trust and the persons identified | ||
as authors of the code. All rights reserved. | ||
|
@@ -75,10 +77,10 @@ module ietf-tpm-remote-attestation-stream { | |
type uint16; | ||
units "seconds"; | ||
description | ||
"Number of seconds before the Attestation stream should send a | ||
new notification with a fresh quote. This allows confirmation | ||
that the PCR values haven't changed since the last | ||
tpm20-attestation."; | ||
"Number of seconds before the Attestation stream should send | ||
a new notification with a fresh quote. This allows | ||
confirmation that the PCR values haven't changed since the | ||
last tpm20-attestation."; | ||
} | ||
} | ||
|
||
|
@@ -97,9 +99,10 @@ module ietf-tpm-remote-attestation-stream { | |
type tpm:pcr; | ||
min-elements 1; | ||
description | ||
"The numbers/indexes of the PCRs. This will act as a filter for | ||
the subscription so that 'tpm-extend' notifications related to | ||
non-requested PCRs will not be sent to a subscriber."; | ||
"The numbers/indexes of the PCRs. This will act as a filter | ||
for the subscription so that 'tpm-extend' notifications | ||
related to non-requested PCRs will not be sent to a | ||
subscriber."; | ||
} | ||
} | ||
|
||
|
@@ -112,8 +115,8 @@ module ietf-tpm-remote-attestation-stream { | |
"This notification indicates that one or more PCRs have been | ||
extended within a TPM based cryptoprocessor. In less than the | ||
'marshalling-period', it MUST be followed with either a | ||
corresponding tpm12-attestation or tpm20-attestation notification | ||
which exposes the result of the PCRs updated."; | ||
corresponding tpm12-attestation or tpm20-attestation | ||
notification which exposes the result of the PCRs updated."; | ||
uses tpm:certificate-name-ref; | ||
leaf-list pcr-index-changed { | ||
type tpm:pcr; | ||
|
@@ -127,9 +130,9 @@ module ietf-tpm-remote-attestation-stream { | |
} | ||
list attested-event { | ||
description | ||
"A set of events which extended an Attester PCR. The sequence | ||
of elements represented in list must match the sequence of | ||
events placed into the TPM's PCR."; | ||
"A set of events which extended an Attester PCR. The | ||
sequence of elements represented in list must match the | ||
sequence of events placed into the TPM's PCR."; | ||
container attested-event { | ||
description | ||
"An instance of an event which extended an Attester PCR"; | ||
|
@@ -198,7 +201,8 @@ module ietf-tpm-remote-attestation-stream { | |
leaf-list pcr-value { | ||
type binary; | ||
description | ||
"PCR value in a sequence which matches to the 'pcr-index'."; | ||
"PCR value in a sequence which matches to the | ||
'pcr-index'."; | ||
} | ||
} | ||
} | ||
|
@@ -217,8 +221,9 @@ module ietf-tpm-remote-attestation-stream { | |
} | ||
uses tpm:tpm20-attestation { | ||
description | ||
"Provides the attestation info. Also ensures PCRs can be XPATH | ||
filtered by refining the unsigned data so that it appears."; | ||
"Provides the attestation info. Also ensures PCRs can be | ||
XPATH filtered by refining the unsigned data so that it | ||
appears."; | ||
refine unsigned-pcr-values { | ||
min-elements 1; | ||
} | ||
|
@@ -242,9 +247,10 @@ module ietf-tpm-remote-attestation-stream { | |
default 5; | ||
description | ||
"The maximum number of seconds between the time an event | ||
extends a PCR, and the 'tpm-extend' notification which reports | ||
it to a subscribed Verifier. This period allows multiple | ||
extend operations bundled together and handled as a group."; | ||
extends a PCR, and the 'tpm-extend' notification which | ||
reports it to a subscribed Verifier. This period allows | ||
multiple extend operations bundled together and handled as a | ||
group."; | ||
} | ||
leaf tpm12-subscribed-signature-scheme { | ||
if-feature "taa:tpm12"; | ||
|
@@ -297,7 +303,8 @@ module ietf-tpm-remote-attestation-stream { | |
leaf-list tpm12-pcr-index { | ||
type tpm:pcr; | ||
description | ||
"The numbers/indexes of the PCRs which can be subscribed."; | ||
"The numbers/indexes of the PCRs which can be | ||
subscribed."; | ||
} | ||
} | ||
case tpm20-stream { | ||
|
@@ -308,7 +315,8 @@ module ietf-tpm-remote-attestation-stream { | |
leaf-list tpm20-pcr-index { | ||
type tpm:pcr; | ||
description | ||
"The numbers/indexes of the PCRs which can be subscribed."; | ||
"The numbers/indexes of the PCRs which can be | ||
subscribed."; | ||
} | ||
} | ||
} | ||
|