From ed4f7b2092445c6553fb08ba65ad7187b6f0161e Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 27 Jun 2022 02:33:23 +0800 Subject: [PATCH] restrict debug access when running vault app this removes the security message about the debug core being unlocked --- apps/vault/src/ux/framework.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/vault/src/ux/framework.rs b/apps/vault/src/ux/framework.rs index e66a98941..590a067b4 100644 --- a/apps/vault/src/ux/framework.rs +++ b/apps/vault/src/ux/framework.rs @@ -774,5 +774,6 @@ impl VaultUx { } pub(crate) fn ensure_hid(&self) { self.usb_dev.ensure_core(usb_device_xous::UsbDeviceType::Hid).unwrap(); + self.usb_dev.restrict_debug_access(true).unwrap(); } } \ No newline at end of file