-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[provisioning] enable benchtop SIVAL cert endorsement with Nitrokeys #25502
[provisioning] enable benchtop SIVAL cert endorsement with Nitrokeys #25502
Conversation
4300c8f
to
df5848b
Compare
"key_type": "Token", | ||
"key": "sv00-earlgrey-a1-ca-dice-0" | ||
}, | ||
"ext": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: make ext
optional for skus that don't have extra certs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: You may have to add the keys/sival data dependencies to orchestrator if you are planning to use it without bazel.
df5848b
to
6c364e5
Compare
6c364e5
to
7cb476c
Compare
7cb476c
to
24ddaf3
Compare
24ddaf3
to
3ec1f6f
Compare
Ah right, fixed. Thanks. |
94375f7
to
1d960d5
Compare
The DICE CA key is stored on a Nitrokey, which can be used in a benchtop provisioning flow to endorse DICE certificates. Signed-off-by: Tim Trippel <[email protected]>
This pubkey is used to encrypt RMA unlock tokens during FT before saving them to the registry. Signed-off-by: Tim Trippel <[email protected]>
The DIN portion of the device ID contains fields that are in BCD format, as was updated in lowRISC#25493. However, the test was not updated accordingly. Moreover, lowRISC#25493 only added parsing BCD formated DINs, but not generating them from the internal DIN object representation. This has also been fixed. Signed-off-by: Tim Trippel <[email protected]>
473f2cb
to
b966c9e
Compare
The ujson payload containing the device ID was sent to the FT individualize in the wrong order. Signed-off-by: Tim Trippel <[email protected]>
The personalization binaries of non-emulation SKUs are checked into the the repo, and therefore have a different path. Fix the orchestrator script to use the correct path for these binaries. Signed-off-by: Tim Trippel <[email protected]>
b966c9e
to
aa2a802
Compare
The DICE CA key may be stored on a Nitrokey, which can be used in a benchtop provisioning flow to endorse DICE certificates. This enables such flows by simply setting an envar (
PKCS11_MODULE_PATH
) and plugging in a Nitrokey to the host machine.