From 42e8988490cb710ff12c2996ea2ac32699177733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Mon, 29 Jul 2024 17:32:57 +0200 Subject: [PATCH] And random generator and config failures to init status bytes --- pynitrokey/trussed/admin_app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pynitrokey/trussed/admin_app.py b/pynitrokey/trussed/admin_app.py index d11621ef..bdf3e374 100644 --- a/pynitrokey/trussed/admin_app.py +++ b/pynitrokey/trussed/admin_app.py @@ -65,6 +65,8 @@ class InitStatus(IntFlag): EXTERNAL_FLASH_ERROR = 0b0100 MIGRATION_ERROR = 0b1000 SE050_ERROR = 0b00010000 + CONFIG_ERROR = 0b00100000; + RANDOM_ERROR = 0b01000000; def is_error(self) -> bool: return self.value != 0