-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.3.1-test.20230417 : generator didn't stop after throw() #250
Comments
Can you please share the full log ( We had a user reporting a similar issue recently (Nitrokey/pynitrokey#368). In that case, it was fixed by booting into bootloader manually:
|
Full log joined of a failed attempt: And booting into bootloader manually did the trick for me too: ❯ nitropy nk3 reboot --bootloader ❯ nitropy nk3 list ❯ nitropy nk3 update --version v1.3.1-test.20230417 Please do not remove the Nitrokey 3 or insert any other Nitrokey 3 devices during the update. Doing so may damage the Nitrokey 3. |
Thanks! I suspect this is a timing issue that is worked around by the manual boot to bootloader. Unfortunately, I cannot reproduce this behavior. If I prepare a patch that tries to fix the timing issue, would you be willing to test it? |
Sure, I will test any patch. |
Great! I’ve prepared a patch here. It should at least improve the error message but hopefully also fixes the problem. You can try it with:
|
So, after manually booting in bootloader two days ago, I was able to install v1.3.1-test.20230417. Then I tested your patch:
This seems to works, and get me back to 1.31:
then back to Test fails:
or finally works if I retry:
So, it kinda works :-) |
I ran into the same problem. After multiple bootloader reboot runs causing
But flashing again fixed that (or it just needed to be unplugged once). |
Ran into the very same issue now updating an nk3a nfc, ran the update command once more to make it through the upgrade
EDIT: just tried upgrading the nk3c nfc (just arrived!) and I had the same error and re-updating worked again |
@robin-nitrokey This looks more like a pynitrokey issue. Shall we move it there? |
Moved to |
Hi,
I just received my nk 3C NFC, so I thought I will play with it and try to get the openpgp app working.
As I understand it, v1.3.1-test.20230417 does include the openpgp app. But installing fails:
The text was updated successfully, but these errors were encountered: