Skip to content

yubihsm-setup replacing the yubico cruft with our own cruft!

License

Notifications You must be signed in to change notification settings

oxidecomputer/offline-keystore

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

253a1a4 · Feb 8, 2025
Jan 12, 2025
May 12, 2023
Feb 7, 2025
Jan 22, 2025
May 11, 2023
Feb 7, 2025
Mar 5, 2023
Mar 8, 2023
Mar 5, 2023
Feb 8, 2025
Feb 8, 2025
Mar 6, 2023
Mar 5, 2023
Aug 16, 2023
Feb 5, 2025

Repository files navigation

This repo implements the parts of yubihsm-setup that we need for our initial key ceremony. This work began after a few things became apparent:

  • the YubiHSM M-of-N backup scheme is implemented in software using an abandoned crate
  • yubihsm-setup depends on an unpublished crate (https://github.com/Yubico/yubihsmrs)
  • yubihsm-setup creates several objects that we don't want and removing them manually is difficult and error prone
  • the human interaction with yubihsm-setup complicates our process unnecessarily

This implementation addresses these concerns by:

  • driving interaction with the YubiHSM2 using the yubihsm crate
  • implementing only the wrap key creation and splitting logic
  • splitting only the wrap key, we do not prepend various YubiHSM2 specific attributes in the key before it's split

About

yubihsm-setup replacing the yubico cruft with our own cruft!

Resources

License

Stars

Watchers

Forks

Packages

No packages published