This commit is contained in:
Peter D. Gray 2023-10-04 09:50:43 -04:00
parent 75235b240e
commit ee9e01bc6b
No known key found for this signature in database
GPG Key ID: A2DCD558C2BE5D7C

View File

@ -850,14 +850,12 @@ async def start_login_sequence():
except BaseException as exc:
# Robustness: any logic errors/bugs in above will brick the Coldcard
# even for legit owner, since they can't login. To try to recover, when it's
# even for legit owner, since they can't login. So try to recover, when it's
# safe to do so. Remember the bootrom checks PIN on every access to
# the secret, so "letting" them past this point is harmless if they don't know
# the true pin.
if not pa.is_successful():
raise
print("Bug recovery!")
sys.print_exception(exc)
# Successful login...