Skip to content

Commit

Permalink
Removed pin-check from the sign function, since it is now applied to …
Browse files Browse the repository at this point in the history
…all APDUs by the SDK directly
  • Loading branch information
apaillier-ledger committed Nov 25, 2024
1 parent 87a4791 commit 170387c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src_features/signTx/cmd_signTx.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ uint16_t handleSign(uint8_t p1,
uint16_t sw = APDU_NO_RESPONSE;
cx_err_t error = CX_INTERNAL_ERROR;

if (os_global_pin_is_validated() != BOLOS_UX_OK) {
PRINTF("Device is PIN-locked");
return APDU_RESPONSE_SECURITY_NOT_SATISFIED;
}
if (p1 == P1_FIRST) {
if (appState != APP_STATE_IDLE) {
reset_app_context();
Expand Down

0 comments on commit 170387c

Please sign in to comment.