-
-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(suite): ignore FW hash check unrecognized-version
- Loading branch information
Showing
5 changed files
with
21 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { FirmwareHashCheckError, FirmwareRevisionCheckError } from '@trezor/connect'; | ||
|
||
export const skippedRevisionCheckErrors = [ | ||
'cannot-perform-check-offline', | ||
'other-error', | ||
] satisfies FirmwareRevisionCheckError[]; | ||
|
||
export const skippedHashCheckErrors = [ | ||
'check-skipped', | ||
'check-unsupported', | ||
// this could be serious, but it's also caught by revision check, which handles edge-cases better, so it's skipped here | ||
'unknown-release', | ||
] satisfies FirmwareHashCheckError[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters