Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

did:x509: improved ca-fingerprint validation #3607

Merged
merged 6 commits into from
Dec 13, 2024

Conversation

reinkrul
Copy link
Member

Fixes #3587 for the parsing in the Nuts node. Issuer tool will still have to be fixed.

It was actually already supported, just the field name was incorrect. But, it was missing a validation check; ca-fingerprint is not allowed to reference the leaf certificate (intermediate CA or root CA only).

@gerardsn
Copy link
Member

make install-tools && make gen-mocks

vdr/didx509/resolver.go Outdated Show resolved Hide resolved
vdr/didx509/resolver.go Outdated Show resolved Hide resolved
reinkrul and others added 2 commits December 12, 2024 12:30
Co-authored-by: Gerard Snaauw <33763579+gerardsn@users.noreply.github.com>
@reinkrul reinkrul requested a review from gerardsn December 12, 2024 11:34
@reinkrul reinkrul merged commit 865bfd0 into master Dec 13, 2024
9 checks passed
@reinkrul reinkrul deleted the iss3587-cafingerprint-fixes branch December 13, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

did:x509 issuer and resolver assume the root CA as ca-fingerprint
2 participants