aboutsummaryrefslogtreecommitdiffstats
path: root/src/access/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-07 22:35:21 +0100
committertv <tv@krebsco.de>2026-11-07 22:35:21 +0100
commit02e06975d02bd8f02d811b4dd1d45ecad2374861 (patch)
treea90f96d2d51993a53c569c1dff172833c7aa6733 /src/access/mod.rs
parent0f5169d44682a6070573f1d9359ed550e8b99caf (diff)
access: values signed by their users
access::envelope: cv1.<payload>.<signature>, the payload naming the path, value, user, time and the envelope it replaces (prev), signed with one of the user's SSH keys from the registry (keys). Checked against the registry as the writer saw it. Auth plan M7.
Diffstat (limited to 'src/access/mod.rs')
-rw-r--r--src/access/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/access/mod.rs b/src/access/mod.rs
index 2ed19a5..b58355e 100644
--- a/src/access/mod.rs
+++ b/src/access/mod.rs
@@ -14,6 +14,9 @@ use serde::{Deserialize, Serialize};
use crate::document::meta;
pub(crate) mod bans;
+// Values signed by their users: what the store and the rules use; until then, the tests.
+#[cfg_attr(not(test), allow(dead_code))]
+pub(crate) mod envelope;
pub(crate) mod policy;
pub(crate) mod registry;
pub(crate) mod rules;