Add multi-manifest X.509 certificate chain extraction and OCSP status verification - #51
Conversation
✅ Deploy Preview for c2pa-conformulator ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…d and gate trusted verdict
|
duplicates some of #25, reviewers should consider both although this appears top be more complete! |
Thanks for taking a look and for the pointer to #25 Andy. I had missed it. I did a detailed comparison with #25 to see where they overlap and how best to proceed:
Since #51 is a clean, passing superset of #25 that resolves its open merge conflicts and adds multi-manifest/testing capabilities, merging #51 will completely satisfy the objectives of #25 while providing a more complete experience. |
Summary
This pull request adds Authority Information Access (AIA) X.509 certificate chain extraction and live RFC 6960 OCSP revocation verification for multi-manifest C2PA assets.
Features
extract_manifest_certificatesandextract_sidecar_manifest_certificatesinwasm/src/lib.rsusingc2pa-rsreader.manifests().id-ad-ocspandid-ad-caIssuersusing@peculiar/x509.OCSPRequestDER payloads and decodesBasicOCSPResponseDER payloads using@peculiar/asn1-ocsp(extractinggood,revokedwith date/reason,unknown).curlcommands for offline inspection.netlify/functions/ocsp-proxy.tsto proxy HTTP OCSP responder queries securely with CORS headers in deployed environments./api/ocsp-proxy) for local testing.CertificateSection.svelteinto the Report tab.[⚡ Check All OCSP]button with progress indicators and batch summary statistics.[Check OCSP]buttons, live status badges, copyable curl commands, and collapsible certificate PEM viewers on each certificate card across all manifests.TreeNode.svelte).Testing
npm test).npm run build).