Skip to content

Add PKCS#7 certificate-chain validation#35

Open
sjg20 wants to merge 1 commit into
mainfrom
cert
Open

Add PKCS#7 certificate-chain validation#35
sjg20 wants to merge 1 commit into
mainfrom
cert

Conversation

@sjg20
Copy link
Copy Markdown
Collaborator

@sjg20 sjg20 commented Nov 27, 2025

Add support for PKCS#7/CMS SignedData signatures as an alternative to direct key-based verification. This enables a chain-of-trust model similar to UEFI Secure Boot and is Authenticode-compatible.

This adds a new optional 'format' property in the signature node, which can be used to select 'direct' (default, existing behavior) or 'pkcs7', as well as an integer 'generation' for revocation

For pkcs7 format, the certificate chain is embedded in the SignedData structure. Validation must include verification of the certificate chain verification up to trusted root, checking of the validity period and generation-based revocation.

Co-developed-by: Claude noreply@anthropic.com

Add support for PKCS#7/CMS SignedData signatures as an alternative to
direct key-based verification. This enables a chain-of-trust model
similar to UEFI Secure Boot and is Authenticode-compatible.

This adds a new optional 'format' property in the signature node, which
can be used to select 'direct' (default, existing behavior) or 'pkcs7',
as well as an integer 'generation' for revocation

For pkcs7 format, the certificate chain is embedded in the SignedData
structure. Validation must include verification of the certificate chain
verification up to trusted root, checking of the validity period and
generation-based revocation.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 27, 2025

Deploy Preview for fluffy-chebakia-3fa329 ready!

Name Link
🔨 Latest commit dfbe975
🔍 Latest deploy log https://app.netlify.com/projects/fluffy-chebakia-3fa329/deploys/6927c262ef2b510008aa0ec1
😎 Deploy Preview https://deploy-preview-35--fluffy-chebakia-3fa329.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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