From 5da3e67a0cefdc7a7cfe2a2d1e81278078668fcb Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Tue, 24 Jan 2017 14:11:03 +0100 Subject: [PATCH] apps.homescreen: handle Ping.passphrase_protection --- src/apps/homescreen/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/apps/homescreen/__init__.py b/src/apps/homescreen/__init__.py index cf37845fd..5a1aebe42 100644 --- a/src/apps/homescreen/__init__.py +++ b/src/apps/homescreen/__init__.py @@ -38,9 +38,12 @@ async def respond_Pong(session_id, msg): from apps.common.request_pin import protect_by_pin await protect_by_pin(session_id) + if msg.passphrase_protection: + from apps.common.request_passphrase import protect_by_passphrase + await protect_by_passphrase(session_id) + # TODO: handle other fields: # button_protection - # passphrase_protection return s