-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Paul's comments and follow-up discussion
Signed-off-by: Thomas Fossati <[email protected]>
- Loading branch information
1 parent
5f34516
commit 8c8e917
Showing
7 changed files
with
75 additions
and
35 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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Reference Values | ||
|
||
## Arm CCA | ||
|
||
The Arm CCA appraisal policy requires the user to provide one or more RIM values corresponding to known and trusted Realm workloads. | ||
|
||
The reference values must be provided in a JSON file that conforms to the following CDDL grammar: | ||
|
||
```cddl | ||
start = { | ||
"reference-values": [ + b64-rim ] | ||
} | ||
b64-rim = text .b64c rim | ||
rim = b | ||
``` | ||
|
||
Note that the RIM values are Base64-encoded and that there must be at least one. | ||
|
||
### Example | ||
|
||
The following contains reference values for three trusted workloads: | ||
|
||
```json | ||
{ | ||
"reference-values": [ | ||
"MRMUq3NiA1DPdYg0rlxl2ejC3H/r5ufZZUu+hk4wDUk=", | ||
"q3N/r5ufZZUu+iAg0rlxl2ejC3HMRMUhk4wDUk1DPdY=", | ||
"UvZTSVUJ6IZtdtK0GEa5nueYxDcEJDa2vNHYL6RhQbs=" | ||
] | ||
} | ||
``` | ||
|
||
### Mock mode | ||
|
||
In "mock" mode, the keybroker server must be started using the following command line: | ||
|
||
```sh | ||
keybroker-server \ | ||
--mock-challenge \ | ||
--verbose \ | ||
--reference-values <(echo '{ "reference-values": [ "MRMUq3NiA1DPdYg0rlxl2ejC3H/r5ufZZUu+hk4wDUk=" ] }') | ||
``` |
File renamed without changes.
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
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
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
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