Skip to content

Updates#365

Merged
flihp merged 3 commits intomainfrom
updates
Apr 21, 2026
Merged

Updates#365
flihp merged 3 commits intomainfrom
updates

Conversation

@flihp
Copy link
Copy Markdown
Collaborator

@flihp flihp commented Apr 20, 2026

No description provided.

@flihp flihp linked an issue Apr 20, 2026 that may be closed by this pull request
@flihp flihp marked this pull request as draft April 20, 2026 17:54
@flihp
Copy link
Copy Markdown
Collaborator Author

flihp commented Apr 20, 2026

This should now have all of the updates that we can do w/o sending patches upstream. Specifically the vsss-rs crate is still pinned to rand_core 0.6 and the changes required there are non-trivial. We should probably squash all of the individual udpates to direct dependencies into a single commit

this is the version shipped in NixOS 25.11
flihp added 2 commits April 20, 2026 11:36
this updates:
- anyhow 1.0.98 -> 1.0.102
- const_format 0.2.34 -> 0.2.36
- glob 0.3.2 -> 0.3.3
- log 0.4.22 -> 0.4.29
- serde 1.0.219 -> 1.0.228
- serde_json 1.0.141 -> 1.0.149
- thiserror 2.0.12 -> 2.0.18
- zerocopy 0.8.26 -> 0.8.48
- zeroize 1.8.1 -> 1.8.2
- zeroize_derive 1.4.2 -> 1.4.3
- clap 4.5.41 -> 4.6.1
- serde_with 3.14 -> 3.18
- sha2 0.10.9 -> 0.11.0
- tempfile 3.20.0 -> 3.27.0
- pem-rfc7468 0.7.0 -> 1.0.0
- rsa 0.9.8 -> 0.9.10
- rand 0.8.5 -> 0.8.6
- env_logger 0.10.2 -> 0.11.10
- vsss-rs 5.1.0 -> 5.3.0

NOTE: the rand crate is on v0.10.x currently but we're held back by vsss-rs
dependency on rand_core 0.6
@flihp flihp marked this pull request as ready for review April 20, 2026 18:44
@flihp
Copy link
Copy Markdown
Collaborator Author

flihp commented Apr 21, 2026

This has now been tested by running through the previous staging ceremony. This requires restoring a YubiHSM from the existing backups in evidence-room after removing the backups created in the previous ceremony:

cargo run --bin oks -- \
	--output output/ \
	--state state/ \
	hsm restore \
	--backups evidence-room/staging/backup/ \
	--share-method stdio \
	--verifier evidence-room/staging/backup/verifier.json

then generating the keys (cosmo & mfg platform id)

cargo run --bin oks -- \
	--state state/ \
	--output output/ \
	hsm generate \
	--auth-method stdio \
	--key-spec evidence-room/staging/2025-09_provisioning/input/

then initializing a CA for each key

cargo run --bin oks -- \
	--output output/ \
	--state state/ \
	ca --auth-method stdio initialize \
	--key-spec evidence-room/staging/2025-09_provisioning/input/ \
	--pkcs11-path /usr/lib/x86_64-linux-gnu/pkcs11/yubihsm_pkcs11.so

NOTE: the path to the yubihsm pkcs11 module is platform specific

then performing all of the signing operations required

cargo run --bin oks -- \
	--output output/ \
	--state state/ \
	ca --auth-method stdio sign \
	--spec evidence-room/staging/2025-09_provisioning/input/

@flihp flihp merged commit 7b81401 into main Apr 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pre-ceremony updates

1 participant