indygreg / indygreg/cryptography-rs

cms: unable to verify the embedded certificate

Open
#1 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
21
Forks
32
PR merge metrics
No merged PRs in 30d

Description

I try to use cryptographic-message-syntax crate to verify a signature. While I can verify the signature proper, I cannot verify the validity of the embedded certificate. My scenario is a bit more complex (includes an intermediate CA), I created an [example](https://github.com/sa2ajj/try-cms-2) where the problem can be seen.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure in the linked try-cms-2 example, focusing on the embedded certificate and its intermediate-CA scenario. Trace the cryptographic-message-syntax crate's certificate-validation entry point and compare signature verification with certificate validity verification. Done means the embedded certificate's validity can be verified for this scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cryptography, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.