[keys] Key pairs and API keys: custos-keys (Ed25519, ECDSA P-256, RSA), secret_key, api_key; threat model; v0.4.0

This commit is contained in:
2026-11-02 15:49:07 +01:00
parent 12783c9b92
commit 3f3cd26590
8 changed files with 914 additions and 48 deletions
+17
View File
@@ -0,0 +1,17 @@
[package]
name = "custos-keys"
description = "Custos key pairs: Ed25519, ECDSA P-256 and RSA, as OpenSSH and PKCS#8 PEM (docs/KEYS.md)"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]
custos-vault = { path = "../custos-vault" }
thiserror.workspace = true
# RustCrypto's SSH key formats and the key types they build on (rand_core 0.6 generation API).
ssh-key = { version = "0.6", default-features = false, features = ["std", "ed25519", "p256", "rsa", "rand_core"] }
ed25519-dalek = { version = "2", features = ["pkcs8", "pem", "rand_core"] }
p256 = { version = "0.13", features = ["ecdsa", "pkcs8", "pem"] }
rsa = { version = "0.9", features = ["pem"] }
rand_core = { version = "0.6", features = ["getrandom"] }