docs: move the auth endpoint contract to docs so the public tree builds without tasks/

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-14 19:21:21 +07:00
parent e421c13859
commit 37a319680c
5 changed files with 5 additions and 5 deletions

View File

@@ -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`.

View File

@@ -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 {

View File

@@ -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() {

View File

@@ -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." },