Skip to content

Commit

Permalink
fix: MLS credential verification should ignore expired certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
beltram committed Mar 15, 2024
1 parent 6d44ca7 commit d53edef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mls-provider/src/pki.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ impl openmls_traits::authentication_service::AuthenticationServiceDelegate for P
// return CredentialAuthenticationStatus::Revoked;
}
PathValidationStatus::InvalidNotAfterDate => {
return CredentialAuthenticationStatus::Expired;
// ? Expired credentials are A-OK. They still degrade conversations though.
// return CredentialAuthenticationStatus::Expired;
}
_ => return CredentialAuthenticationStatus::Invalid,
}
Expand Down

0 comments on commit d53edef

Please sign in to comment.