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

Folders and files

NameName
Last commit message
Last commit date
Feb 12, 2025
May 12, 2023
Feb 12, 2025
Jan 22, 2025
May 11, 2023
Feb 27, 2025
Mar 5, 2023
Mar 8, 2023
Mar 5, 2023
Feb 26, 2025
Feb 26, 2025
Mar 6, 2023
Mar 5, 2023
Aug 16, 2023
Feb 21, 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