[vault] Signing: the signing body member (release and test key sets, scope, sign-only API, append-only audit log); custos-sign draws from SysRng; the wasm build links getrandom 0.2 to the browser CSPRNG

This commit is contained in:
2026-11-04 00:26:11 +01:00
parent cd2963392d
commit 06410ab3be
13 changed files with 373 additions and 52 deletions
+5 -3
View File
@@ -11,12 +11,14 @@ thiserror.workspace = true
zeroize.workspace = true
data-encoding.workspace = true
# The RustCrypto generation custos-keys already uses (digest 0.10, signature 2).
ed25519-dalek = { version = "2", features = ["rand_core"] }
rsa = { version = "0.9", features = ["sha2"] }
ed25519-dalek = "2"
rsa = { version = "0.9", default-features = false, features = ["sha2", "u64_digit"] }
sha2-010 = { package = "sha2", version = "0.10", features = ["oid"] }
blake2 = "0.10"
x509-cert = { version = "0.2.5", features = ["builder"] }
rand_core = { version = "0.6", features = ["getrandom"] }
# rsa 0.9 generates keys through rand_core 0.6; the bytes come from `rand`'s SysRng (lib.rs, `OsRng06`).
rand_core = "0.6"
rand.workspace = true
[dev-dependencies]
minisign-verify = "0.3"