diff options
Diffstat (limited to 'src/state/mod.rs')
| -rw-r--r-- | src/state/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs index 4fcf413..6e25336 100644 --- a/src/state/mod.rs +++ b/src/state/mod.rs @@ -161,6 +161,10 @@ pub(crate) struct AppState { /// may make within it (`access::challenge`). pub(crate) challenge_lifetime: Duration, pub(crate) key_logins_per_user: usize, + /// Whose signature on a strict remake's manifest this node takes, and whether it + /// takes any without (`access::strict`). + pub(crate) strict_keys: Arc<Vec<crate::access::sshsig::PublicKey>>, + pub(crate) follow_strict_remakes: bool, /// Origins whose pages may call this node's open endpoints (`api::cors`). pub(crate) cors_origins: Arc<Vec<String>>, /// This node's own files, and how much it read and wrote them. |
