Skip to content

Commit 3bb1bae

Browse files
committed
wip: upgrade vsss_rs to 5.1.0
This update becamse necessary because the old version of `vsss-rs` was holding back the RustCrypto crates (p256, rsa etc) w/ shared / conflicting dependencies. This is evident in the net loss in the Cargo.lock file despite adding a new dependency. We maintain backward compatibility w/ the hex format for shares when they're output through the printer and input via stdio. Share I/O using ISO & CDW now serialize shares as JSON. I'm not wild about serializing types from a dependency as we don't control if / when these might change but for now we're no worse off than we were. This has been tested by creating, destroying, and then recovering OKS instances w/ shares round tripped through: - printer output, stdio input - ISO output & input - CDW output & CDR input
1 parent 6c3f643 commit 3bb1bae

8 files changed

+576
-522
lines changed

Cargo.lock

+264-335
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-6
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ log = "0.4.22"
1616
lpc55_sign = { git = "https://github.com/oxidecomputer/lpc55_support", default-features = false, version = "0.3.4" }
1717
lpc55_areas = { git = "https://github.com/oxidecomputer/lpc55_support", default-features = false, version = "0.2.4" }
1818
num-bigint = "0.4.6"
19-
# p256 v0.13 has a dependency that requires rustc 1.65 but we're pinned
20-
# to 1.64 till offline-keystore-os supports it
21-
p256 = "0.12"
19+
p256 = "0.13"
2220
pem-rfc7468 = { version = "0.7.0", features = ["alloc", "std"] }
2321
rand = "0.8.5"
2422
rand_core = { version = "0.6.4", features = ["std"] }
@@ -30,9 +28,7 @@ static_assertions = "1.1.0"
3028
tempfile = "3.13.0"
3129
textwrap = "0.16.1"
3230
thiserror = "1.0.64"
33-
# vsss-rs v3 has a dependency that requires rustc 1.65 but we're pinned
34-
# to 1.64 till offline-keystore-os supports it
35-
vsss-rs = "2.7.1"
31+
vsss-rs = "5.1.0"
3632
x509-cert = "0.2.5"
3733
yubihsm = { git = "https://github.com/oxidecomputer/yubihsm.rs", branch = "session-close", features = ["usb", "untested"] }
3834
zeroize = "1.8.1"
@@ -41,3 +37,4 @@ glob = "0.3.2"
4137
rsa = "0.9.3"
4238
sha2 = "0.10.8"
4339
zerocopy = { version = "0.8.17", features = ["derive", "std", "zerocopy-derive"] }
40+
const_format = "0.2.34"

0 commit comments

Comments
 (0)