Skip to content

Commit

Permalink
Stop setting new lifetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Aug 14, 2024
1 parent 5d45116 commit d2db651
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion xmtp_mls/src/identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,6 @@ impl Identity {
.leaf_node_capabilities(capabilities)
.leaf_node_extensions(leaf_node_extensions)
.key_package_extensions(key_package_extensions)
.key_package_lifetime(Lifetime::new(6 * 30 * 86400))
.build(
CIPHERSUITE,
provider,
Expand Down
2 changes: 0 additions & 2 deletions xmtp_mls/src/verified_key_package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ pub enum KeyPackageVerificationError {
InvalidCredential,
#[error(transparent)]
Association(#[from] AssociationError),
#[error("invalid lifetime")]
InvalidLifetime,
#[error("generic: {0}")]
Generic(String),
#[error("wrong credential type")]
Expand Down
2 changes: 0 additions & 2 deletions xmtp_mls/src/verified_key_package_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ pub enum KeyPackageVerificationError {
TlsError(#[from] TlsCodecError),
#[error("mls validation: {0}")]
MlsValidation(#[from] KeyPackageVerifyError),
#[error("invalid lifetime")]
InvalidLifetime,
#[error("wrong credential type")]
WrongCredentialType(#[from] BasicCredentialError),
#[error(transparent)]
Expand Down

0 comments on commit d2db651

Please sign in to comment.