From bc9247e18d5d60e2c4a7a84d7ba3bd46ec0a10a1 Mon Sep 17 00:00:00 2001 From: matejcik Date: Mon, 25 May 2020 15:20:43 +0200 Subject: [PATCH] core: add Cancel to a list of allowed messages while locked --- core/src/apps/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/apps/base.py b/core/src/apps/base.py index b133d31ca..acfb50521 100644 --- a/core/src/apps/base.py +++ b/core/src/apps/base.py @@ -119,6 +119,7 @@ async def handle_Ping(ctx: wire.Context, msg: Ping) -> Success: ALLOW_WHILE_LOCKED = ( MessageType.Initialize, MessageType.GetFeatures, + MessageType.Cancel, MessageType.LockDevice, MessageType.WipeDevice, )