Skip to content

Commit

Permalink
fix: temporarily disable validation of Lifetime in KeyPackages
Browse files Browse the repository at this point in the history
  • Loading branch information
beltram committed Feb 21, 2024
1 parent 9c596b1 commit 5258904
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openmls/src/treesync/node/validate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ impl VerifiableKeyPackageLeafNode {
return Err(LeafNodeValidationError::InvalidLeafNodeSource);
};
if !lifetime.is_valid() {
return Err(LeafNodeValidationError::Lifetime(LifetimeError::NotCurrent));
// TODO: revise later depending on the call-site
// return Err(LeafNodeValidationError::Lifetime(LifetimeError::NotCurrent));
}
Ok(())
}
Expand Down

0 comments on commit 5258904

Please sign in to comment.