From 7547776efe877f2e7f95460a2154a8fd0020bc03 Mon Sep 17 00:00:00 2001 From: Malte Meiboom Date: Fri, 12 Jun 2026 12:45:14 +0200 Subject: [PATCH] Assert that an added introducer has certification capabilities --- src/commands/introducer/add.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/introducer/add.rs b/src/commands/introducer/add.rs index 113b91b..5f0da8d 100644 --- a/src/commands/introducer/add.rs +++ b/src/commands/introducer/add.rs @@ -45,6 +45,7 @@ pub async fn dispatch(cmd: IntroducerAddCommand, config: HuskConfigContainer) -> .filter_map(|c| c.with_policy(policy, None).ok() ) + .filter(|vc| crypto::can_certify(vc)) .collect(); if let Some(cert) = certs.first() {