diff --git a/SECURITY.md b/SECURITY.md index d2cb7b8..6fe6c4a 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,4 +6,4 @@ few days. Supported: the latest release. Tessera holds encrypted backups: keep `TESSERA_VAULT_PASSPHRASE` and the `vault` directory together, serve the hub over HTTPS outside loopback, and set `TESSERA_TRUSTED_PROXIES` only for proxies you -operate. Hardening notes and the auth design are in `docs/DATABASE-CAPTURE.md` and `tasks/auth-endpoint-contract.md`. +operate. Hardening notes and the auth design are in `docs/DATABASE-CAPTURE.md` and `docs/auth-endpoint-contract.md`. diff --git a/crates/tessera-hub/src/api/access_tests.rs b/crates/tessera-hub/src/api/access_tests.rs index 2260cf1..c68455e 100644 --- a/crates/tessera-hub/src/api/access_tests.rs +++ b/crates/tessera-hub/src/api/access_tests.rs @@ -1,4 +1,4 @@ -//! Authorization matrix, generated from `tasks/auth-endpoint-contract.md`. +//! Authorization matrix, generated from `docs/auth-endpoint-contract.md`. //! //! Every `human` route in the contract is exercised against real resources in two //! orbits with six kinds of caller. A route added to the contract without a @@ -18,7 +18,7 @@ use tessera_core::restore::{DatabaseIdentity, Engine, RestoreTarget}; use tower::ServiceExt; use uuid::Uuid; -const CONTRACT: &str = include_str!("../../../../tasks/auth-endpoint-contract.md"); +const CONTRACT: &str = include_str!("../../../../docs/auth-endpoint-contract.md"); const ISSUER: &str = "https://idp.example"; struct Fixture { diff --git a/crates/tessera-hub/src/api/auth_contract.rs b/crates/tessera-hub/src/api/auth_contract.rs index cf12d24..978c7ca 100644 --- a/crates/tessera-hub/src/api/auth_contract.rs +++ b/crates/tessera-hub/src/api/auth_contract.rs @@ -8,7 +8,7 @@ use axum::{ use std::net::SocketAddr; use tower::ServiceExt; -const CONTRACT: &str = include_str!("../../../../tasks/auth-endpoint-contract.md"); +const CONTRACT: &str = include_str!("../../../../docs/auth-endpoint-contract.md"); #[test] fn every_registered_path_has_an_authorization_contract() { diff --git a/deny.toml b/deny.toml index 4f20e76..3d44c97 100644 --- a/deny.toml +++ b/deny.toml @@ -4,7 +4,7 @@ all-features = false [advisories] version = 2 -# Unmaintained warnings are tracked, not ignored silently; see tasks/auth-plan.md (M1). +# Unmaintained warnings are tracked, not ignored silently; see the auth design notes. unmaintained = "workspace" ignore = [ { id = "RUSTSEC-2023-0071", reason = "Marvin attack concerns RSA private-key operations. Tessera only verifies ID-token signatures with public keys (openidconnect core/crypto.rs); runtime code never calls an RSA private-key operation; only test fixtures sign tokens with throwaway keys. No patched rsa 0.9 exists. Revisit when openidconnect moves to rsa >= 0.10." }, diff --git a/tasks/auth-endpoint-contract.md b/docs/auth-endpoint-contract.md similarity index 100% rename from tasks/auth-endpoint-contract.md rename to docs/auth-endpoint-contract.md