From 49c6245259cec56c4d5a6bb1ba3ed24dceb37cb4 Mon Sep 17 00:00:00 2001 From: beltram Date: Wed, 20 Dec 2023 10:33:07 +0100 Subject: [PATCH] feat!: remove 'PerDomainTrustAnchor' from LeafNode default capabilities --- openmls/src/group/public_group/diff/compute_path.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmls/src/group/public_group/diff/compute_path.rs b/openmls/src/group/public_group/diff/compute_path.rs index 7dae9463b3..35f71ba33d 100644 --- a/openmls/src/group/public_group/diff/compute_path.rs +++ b/openmls/src/group/public_group/diff/compute_path.rs @@ -4,7 +4,7 @@ use openmls_traits::types::Ciphersuite; use openmls_traits::{key_store::OpenMlsKeyStore, signatures::Signer, OpenMlsCryptoProvider}; use tls_codec::Serialize; -use crate::prelude::{Capabilities, CredentialType, ExtensionType, ProtocolVersion}; +use crate::prelude::{Capabilities, CredentialType, ProtocolVersion}; use crate::{ binary_tree::LeafNodeIndex, credentials::CredentialWithKey, @@ -76,7 +76,7 @@ impl<'a> PublicGroupDiff<'a> { Ciphersuite::MLS_256_DHKEMP384_AES256GCM_SHA384_P384, Ciphersuite::MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_Ed25519, ]), - Some(&[ExtensionType::PerDomainTrustAnchor]), + Some(&[]), Some(&[]), Some(&[CredentialType::Basic, CredentialType::X509]), ),