[protocol] Tests: enrollment single use, expired/replayed/foreign certificates, signed releases, the job guard (red: the code follows)

This commit is contained in:
2026-11-17 11:38:23 +01:00
parent 1a00a13434
commit 304ad9cd1d
12 changed files with 1033 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
[package]
name = "legatus"
description = "Legatus: the Fabrica Domi agent. Outbound mTLS, nothing unsigned runs."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish.workspace = true
[[bin]]
name = "legatus"
path = "src/main.rs"
[dependencies]
legatus-protocol.workspace = true
legatus-linux.workspace = true
domi-pki.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
ring.workspace = true
rustls.workspace = true
rustls-pki-types.workspace = true
webpki.workspace = true
httparse.workspace = true
[dev-dependencies]
minisign.workspace = true
tempfile.workspace = true
tar.workspace = true
flate2.workspace = true
[lints]
workspace = true
+1
View File
@@ -0,0 +1 @@
//! Legatus agent (code follows its tests).
+1
View File
@@ -0,0 +1 @@
fn main() {}