Skip to content

Commit

Permalink
Add SE050_RAND_ERROR reporting in status
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Sep 15, 2023
1 parent f50119b commit b442135
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pynitrokey/nk3/admin_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class InitStatus(IntFlag):
INTERNAL_FLASH_ERROR = 0b0010
EXTERNAL_FLASH_ERROR = 0b0100
MIGRATION_ERROR = 0b1000
SE050_RAND_ERROR = 0b00010000

def is_error(self) -> bool:
return self.value != 0
Expand Down

0 comments on commit b442135

Please sign in to comment.