: asapien/signet

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 
# Ticket25 — optional live TSA qualification

## Context

Optional detached RFC3161 evidence is implemented and local native HTTPS
verification/negative/crash/cron tests pass. No live TSA or production trust has
been configured. This is NOT PAdES B-T or independent verification of earlier
sign-off, identity or consent. See docs/timestamps.md, ADR0003 and
.scratch/detached-timestamps.md. The beta can keep this optional feature disabled.

## Work

Obtain the owner's selected HTTPS TSA and independently approved signing trust
bundle. Verify published terms/quota and public certificate provenance; do not
silently trust a certificate from the same unverified response. Keep HTTPS
platform trust distinct from TSA signing trust. Use approved libcurl/libcrypto;
no command-line curl in the product, PDF wrapper, account/key custody or new
runtime. No private signing keys belong in Signet for this feature.

With an explicitly synthetic released PDF, make a small bounded live check;
never upload document bytes or use real payroll. Verify returned nonce/imprint,
SHA-2 signature, chain/validity/EKU and TSA time, downloaded full .tsr and unchanged
final SHA-256. Exercise the approved native cron/identity/permissions/log path.
Respect provider rate limits and other users sharing the egress address. Do not
hammer the provider to reproduce local failure fixtures.

## Done when

Record endpoint, trust provenance/fingerprints, exact source, one independent
verification and operator enable/disable/backup instructions. Preserve four total
consumed attempts ending at release+1h; no reset after restart, no release gate,
no altered PDF or conflated times. Display unavailable honestly. Document that
online revocation, archival renewal, long-term and legal qualification are not
implemented. Trust setup/verification is needed before enabling, not a reason to
block ordinary signing while timestamping remains off.