Skip to content

Commit

Permalink
fix: remove x509 expiration validation when decoding a message
Browse files Browse the repository at this point in the history
  • Loading branch information
beltram committed Feb 28, 2024
1 parent 8e52f0a commit 99d47bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions openmls/src/framing/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,6 @@ impl UnverifiedMessage {
use openmls_x509_credential::X509Ext;
let (_, child_cert) = a?;
let (parent_idx, parent_cert) = b?;
// verify not expired
child_cert.is_valid()?;

// verify that child is signed by parent
child_cert.is_signed_by(backend.crypto(), parent_cert)?;
Expand Down

0 comments on commit 99d47bc

Please sign in to comment.