Repository navigation
fix(certinfo): read the fiscal code from a CIE certificate's CN - #10
Conversation
A CIE authentication certificate carries the codice fiscale in CN "<codice fiscale>/<NIS>" and the document number in serialNumber "IDCIT-…". The simulator and the soft token now issue certificates shaped like a real CIE's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughCertificate parsing now validates fiscal codes found in TINIT serial numbers and CIE-style common names. Simulator and software-token certificates use CIE-style common names and IDCIT serial attributes. ChangesFiscal code certificate handling
Priority: ➖ Normal Change: Bug fix Merge Risk: ⚪ Minimal · up to
|
A real CIE authentication certificate has the codice fiscale in
CN=<codice fiscale>/<NIS>. ItsserialNumberis the document numberIDCIT-…, notTINIT-<codice fiscale>. Because of this, the agent reported no fiscal code for real cards.certinfo.Parsereads the CN form and still acceptsTINIT-. A value only counts if it has the shape of a codice fiscale.The matching backend fix is PoliNetworkOrg/backend (fix/esign-cie-fiscal-code).
🤖 Generated with Claude Code