1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Ticket 13 — fail-closed forwarded identity
Implemented on isolated branch feat/signet-ticket13. No authentication server,
production proxy integration or deployment is included. See spec.md §4.
`ident_read()` accepts only a valid configured username header, clears groups
for absent/invalid identity and grants no groups when its header is absent.
Neither DEV_MODE nor DEV_REMOTE_* supplies credentials. Roles still come solely
from signet.conf. The integration baseline already excluded the original
checkout's uncommitted unconditional admin fallback; it is not restored here.
The unrelated original checkout/auth experiments remain untouched.
Provider-independent dev bootstrap removes automatic Authelia installation and
startup. The old lighttpd socket conditional accidentally created a duplicate
8080 listener; removing that unused provider/proxy stub allows a clean isolated
stack to boot. Real production trusted-header overwrite/backend bypass remains
ticket14, not something this header-trusting dev stack can prove.
`test/identity-contract.sh` (also run by default e2e, or e2e identity-contract)
tests both APIs: absent/invalid identity401; groups without identity401; absent
or unknown groups give no roles and cannot write; authenticated PIM reads stay
available; config-only role remapping; no environment fallback; configurable
identity header names. It temporarily changes the isolated config and restarts
APIs, restoring both on exit. Never run this test on production.
Verification in Alpine development container:
- /tmp/signet-ticket13-build.log: clean -Wall -Wextra build.
- /tmp/signet-ticket13-e2e.log: identity contract and full API/worker e2e PASS.
- /tmp/signet-ticket13-render.log: render recovery/queue/release contract PASS.
- Shell syntax/diff checks pass. These are not native production acceptance.
Owner's CONSIDERATIONS.md (2026-11-12) was read: customer signing remains
unapproved future scope; native resource containment/coexistence and maa-1's
mission-critical shared services remain deployment gates. No maa-1 access or
shared service changes were made.