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

Use Default Critical (Non-Critical) Marks for CHIP Cert Extensions. #4710

Merged

Conversation

emargolis
Copy link
Contributor

The following certificate extensions, when present, MUST be marked as critical:

  • basic constraints extension
  • key usage extension
  • extended key usage extension

The following certificate extensions, when present, MUST be marked as non-critical:

  • subject key identifier extension
  • authority key identifier extension

These rules should always be enforced when processing X.509 representation of the certificate.
In the CHIP certificate representation the "critical" field is omitted.

Ticket: #4708

The following certificate extensions, when present, MUST be marked as critical:
  - basic constraints extension
  - key usage extension
  - extended key usage extension

The following certificate extensions, when present, MUST be marked as non-critical:
  - subject key identifier extension
  - authority key identifier extension

These rules should always be enforced when processing X.509 representation of the certificate.
In the CHIP certificate representation the "critical" field is omitted.

Ticket: project-chip#4708
src/credentials/CHIPCertFromX509.cpp Outdated Show resolved Hide resolved
src/credentials/CHIPCertFromX509.cpp Outdated Show resolved Hide resolved
src/credentials/CHIPCertFromX509.cpp Outdated Show resolved Hide resolved
src/credentials/CHIPCertFromX509.cpp Outdated Show resolved Hide resolved
src/credentials/CHIPCertFromX509.cpp Outdated Show resolved Hide resolved
src/credentials/CHIPCertToX509.cpp Outdated Show resolved Hide resolved
src/credentials/CHIPCertToX509.cpp Outdated Show resolved Hide resolved
src/credentials/CHIPCertToX509.cpp Outdated Show resolved Hide resolved
@woody-apple
Copy link
Contributor

@saurabhst ?

@pullapprove pullapprove bot requested a review from msandstedt February 10, 2021 18:51
@mspang mspang merged commit ac22f1b into project-chip:master Feb 10, 2021
@emargolis emargolis deleted the feature/emargolis/chip-certs-ext-critical branch May 26, 2021 02:47
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.

6 participants