[protocol] Tests: enrollment single use, expired/replayed/foreign certificates, signed releases, the job guard (red: the code follows)
This commit is contained in:
+44
@@ -0,0 +1,44 @@
|
||||
[workspace]
|
||||
resolver = "3"
|
||||
members = ["crates/protocol", "crates/linux", "crates/agent"]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
rust-version = "1.89"
|
||||
license = "MPL-2.0"
|
||||
repository = "https://gitea.marek-novak.cz/mnovak/Legatus"
|
||||
publish = false
|
||||
|
||||
[workspace.dependencies]
|
||||
legatus-protocol = { path = "crates/protocol" }
|
||||
legatus-linux = { path = "crates/linux" }
|
||||
domi-pki = { path = "../domi-pki" }
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = "1.0.145"
|
||||
thiserror = "2.0.17"
|
||||
ring = "0.17.14"
|
||||
data-encoding = "2.6"
|
||||
minisign-verify = "0.3"
|
||||
minisign = "0.7.9"
|
||||
rustls = { version = "0.23.31", default-features = false, features = ["ring", "std", "tls12", "logging"] }
|
||||
rustls-pki-types = "1.12"
|
||||
webpki = { package = "rustls-webpki", version = "0.103", default-features = false, features = ["ring", "alloc"] }
|
||||
httparse = "1.9"
|
||||
tar = { version = "0.4.44", default-features = false }
|
||||
flate2 = "1.1"
|
||||
tempfile = "3.20"
|
||||
|
||||
[workspace.lints.rust]
|
||||
unsafe_code = "forbid"
|
||||
|
||||
[workspace.lints.clippy]
|
||||
# Hostile input never meets unwrap(): non-test code must handle every Result.
|
||||
unwrap_used = "deny"
|
||||
expect_used = "deny"
|
||||
panic = "deny"
|
||||
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
strip = true
|
||||
Reference in New Issue
Block a user