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

[TOB] DEV-3784: ID-5 #20

Open
wants to merge 4 commits into
base: development
Choose a base branch
from
Open

[TOB] DEV-3784: ID-5 #20

wants to merge 4 commits into from

Conversation

preston4896
Copy link
Collaborator

@preston4896 preston4896 commented Feb 10, 2025

See automata-network/automata-on-chain-pccs#22 for more details about authorityKeyIdentifier and subjectKeyIdentifier fields introduced to the X509Helper and X509CRLHelper libraries.

This PR introduces two changes:

  • authorityKeyIdentifier value of the CRL must match with the subjectKeyIdentifier value of the CA Issuer. This is cheaper than performing ECDSA verification (assuming not using RIP-7212).
  • authorityKeyIdentifier value of a subject certificate must match with the subjectKeyIdentifier value of the CA issuer before performing ECDSA verification.

ID-5 also raises issues regarding CRL expiration check, which is being resolved in #19.

@preston4896 preston4896 changed the title DEV-3784: ID-5 [TOB] DEV-3784: ID-5 Feb 13, 2025
@preston4896 preston4896 marked this pull request as ready for review February 13, 2025 06:49
X509CertObj memory issuer;
bytes memory crl;

Check warning

Code scanning / Slither

Uninitialized local variables Medium

@preston4896 preston4896 changed the base branch from main to development February 18, 2025 06:36
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.

1 participant