Scaffolded with the dredd skill (simple tenancy, indigo, pl-first, dredd-core v0.23.0), then the M6 domain from the Compass split plan: - signing_request (dredd_core.document_ref SubjectRefMixin): a Galena DocumentRef read through module_client with the person's token, or a plain_files FileRef upload (D9). PDF only, refused with pdf_only. - draft -> signed | failed (failed is retryable); lists Do podpisu and Podpisane; moderators sign, owners see their own. - PAdES B-B signing with pyHanko (MIT) using the operator's PKCS#12 from SIGNING_PKCS12_PATH + passphrase file; no key in the repo (tests make a throwaway self-signed certificate at test time). - Signed result: a new FileRef, and for a Galena subject a new version via Galena's /upload with dest=<path>, pinned and read back; document.signed emitted via dredd-core events in the same transaction. - Verification of any PDF's signatures (intact / valid / trusted). - GET /api/v1/stats (stats_contract): to_sign -> todo, signed -> signed. - 0005_signing idempotent by catalog; provision.sql rendered for the platform; standalone compose published on :8121. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
207 B
Plaintext
21 lines
207 B
Plaintext
.env
|
|
*.pyc
|
|
__pycache__/
|
|
.venv/
|
|
venv/
|
|
.pytest_cache/
|
|
.ruff_cache/
|
|
.coverage
|
|
htmlcov/
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
data/
|
|
.DS_Store
|
|
certs/
|
|
|
|
# The operator's signing material: never in the repo.
|
|
signer/
|
|
*.p12
|
|
*.pfx
|