BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
217 stars 81 forks source link

api/setpassword,restore: return UserAbort on user abort #989

Closed benma closed 1 year ago

benma commented 1 year ago

Before, Generic would be returned no matter if the user did not enter the same password twice or if they aborted on the Your password has fewer than 4 characters.\nContinue? screen.

Now that we handle the user abort, we can also allow to abort during password entry itself.