Skip to content

Commit

Permalink
src: Add missing UX_WAKE_UP calls for FIDO2 UX requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Chapron authored and xchapron-ledger committed Jan 10, 2024
1 parent 0931304 commit 26f5ad9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ctap2_get_assertion_flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ void ctap2_get_assertion_ux(ctap2_ux_state_t state) {

ctap2UxState = state;

UX_WAKE_UP();

#if defined(HAVE_BAGL)
ux_step = 0;
#elif defined(HAVE_NBGL)
Expand Down
2 changes: 2 additions & 0 deletions src/ctap2_make_credential_flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ void ctap2_make_credential_ux(void) {

ctap2_ux_get_display_user();

UX_WAKE_UP();

#if defined(HAVE_BAGL)
ux_flow_init(0,
(ctap2RegisterData->residentKey ? ux_ctap2_make_cred_resident_flow
Expand Down
4 changes: 4 additions & 0 deletions src/ctap2_reset_flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ UX_FLOW(ux_ctap2_reset_flow,
void ctap2_reset_ux(void) {
ctap2UxState = CTAP2_UX_STATE_RESET;

UX_WAKE_UP();

ux_flow_init(0, ux_ctap2_reset_flow, NULL);
}

Expand All @@ -75,6 +77,8 @@ void ctap2_reset_ux(void) {
void ctap2_reset_ux(void) {
ctap2UxState = CTAP2_UX_STATE_RESET;

UX_WAKE_UP();

io_seproxyhal_play_tune(TUNE_LOOK_AT_ME);

nbgl_useCaseChoice(&C_warning64px,
Expand Down

0 comments on commit 26f5ad9

Please sign in to comment.