Use case: verify signatures (upload -> validity report) #16

Closed
EduarD3V wants to merge 0 commits from issue/8-use-case-verify-signatures-upl into bullet-develop
Owner

Implements #8.

Refs #8

Automated by bullet: reviewed (independent model) → gates green on merged tree. Auto-merge follows.

Implements **#8**. Refs #8 Automated by bullet: reviewed (independent model) → gates green on merged tree. Auto-merge follows.
Hand-rolled DER reader, certificate parsing, WebCrypto signature verification and
issuer-link chain building; CAdES checks: structure, messageDigest vs content,
signature over re-encoded signedAttrs, signer cert, validity, chain, signingTime.
C14N 1.0 inclusive + exclusive (no comments) with the enveloped-signature transform,
XMLDSig SignedInfo signature and per-Reference digest checks, xades:SigningTime, and the
FNMT AC RAIZ FNMT-RCM trust anchor refreshed by scripts/fetch-roots.sh (fingerprint asserted).
Sign/Verify tablist, drop-a-signature step, per-check cards with the technical reason,
signer/validity/signing-time summary and an optional original document for detached CAdES.
Throwaway test PKI (keys gitignored), generator and openssl/python cross-check script, C14N
oracle vectors from python ElementTree.canonicalize, and vitest coverage of every check path.
The fixtures only tampered with the content, so nothing exercised the
cryptographic check on its own failure path. Flip a byte inside the CMS
signature OCTET STRING and inside the XAdES SignatureValue instead.
EduarD3V closed this pull request 2026-10-14 13:21:54 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
EduarD3V/AutoFirme!16
No description provided.