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
commit7fed3e4478ad28151fab288d569a1268c1f3e4cf (patch)
tree1d406a10393b16b7f85295e14b855ca5ac7c741f /src/access/mod.rs
parent41657a4d749b1f1d44663ff6504f2e784f091537 (diff)
api: signed values at the store
PUT with application/continuum-signed writes an envelope where values are signed (403/409 saying why); reads open envelopes and name the signer (x-continuum-signed-by), ?raw=true shows them. Under strict, unsigned writes reaching a signed value and the users API are 409. Auth plan M7.
Diffstat (limited to 'src/access/mod.rs')
-rw-r--r--src/access/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/access/mod.rs b/src/access/mod.rs
index b58355e..bdb5124 100644
--- a/src/access/mod.rs
+++ b/src/access/mod.rs
@@ -14,16 +14,11 @@ 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;
pub(crate) mod screen;
-// Users' keys and signatures: what signed values and logins by key use; until then,
-// the tests.
-#[cfg_attr(not(test), allow(dead_code))]
pub(crate) mod sshsig;
pub(crate) mod token;