docs: current architecture, Trustgate integration and emCA integration plan #63
No reviewers
Labels
No labels
architecture
code-quality
correctness
critical
docs
high
low
medium
ops
performance
privacy
security
tests
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
antrapol/CA-MDID-eMudhra!63
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/architecture-and-emca-plan"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Docs only, no code change.
docs/architecture-current.md: how the middleware works today and how it integrates with Trustgate, with 7 Mermaid diagrams. Key point: certificates are signed by a local Root/Sub CA; Trustgate is used for status checks and revocation only (NationalIDClient.enrollis not called by the app). CRL and OCSP are served by this service from local records.docs/emca-integration-plan.md: plan to replace Trustgate with emCA (REST) and nothing else. Local signing, CRL, OCSP and every API contract stay. The seam isNationalIDClient: three operations, nine call sites, all consuming%ClcData{}. Plan: anEmCaClientreturning the same struct behind a thinRemoteCa, batches E0–E4, open questions for eMudhra and for the product owner.Biggest open points (plan section 7): emCA has no lookup by IC number, and it is unclear whether emCA holds the people Trustgate holds today.
Not verified: nothing was run against emCA; its facts come from the 5-page Swagger (request models only), and anything it does not show is listed as an assumption or open question.
Verification: coverage 83.86% on this branch (no code changed). All diagrams render with
mmdc. Two-pass review applied to the first version of the docs; the narrowed plan (rewritten after the review, to the new scope) was not re-reviewed by a second pass, only checked: call-site line numbers re-verified with grep and the diagram re-rendered.🤖 Generated with Claude Code