Skip to content
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

[spmutil] enable provisioning DICE and SKU-specific CA keys #44

Open
2 tasks
timothytrippel opened this issue Jan 18, 2025 · 1 comment
Open
2 tasks
Assignees
Labels
enhancement New feature or request

Comments

@timothytrippel
Copy link
Collaborator

timothytrippel commented Jan 18, 2025

OpenTitan Earlgrey provisioning flows support endorsing two different types of certificate chains:

  1. DICE
  2. SKU-specific

Each chain type requires a different CA. Therefore, the spmutil tool should be updated to enable generating:

  • DICE CA keys and cert (ECDSA P256, P384, P521)
  • SKU-Specific CAs keys and certs (could be many per SKU, same key sizes supported above)

The documentation and deployment scripts should be updated to detail how to generate these assets.

@timothytrippel timothytrippel added the enhancement New feature or request label Jan 18, 2025
@moidx
Copy link
Collaborator

moidx commented Jan 23, 2025

I am planning to modify the HSM initialization infrastructure to support a SKU configuration file. This file will have the key type and additional attributes required to perform keygen, as well as unique labels.

The utility will support the following actions:

  • wipe: Removes all keys.
  • keygen: Generates keys.
  • export: Export keys.
  • import: Import keys.

I will start by modifying the spmutil binary to implement this functionality and enable the CI infrastructure, but will later on move to use OpenTitan's hsmtool as this will become our canonical HSM utility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants