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
Unlocking password safe fails when compiling with recent gcc versions #9
Comments
This includes a missing return, which fixes Nitrokey#9
This includes a missing return, which fixes Nitrokey#9
Hi! |
I suspected the same because the first wrong memcpy was exactly at this place. Didn't have time to confirm. I don't remember my gcc version. I suspect it was a bit newer than 5.4. |
OK, thank you. I will run tests thoroughly before closing. |
Issue is not occurring on latest commit. It might be also caused by not regenerating AES keys after factory reset (detailed log below). |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Sending the command that enables the pws returns a respose with status: CMD_STATUS_AES_DEC_FAILED
The text was updated successfully, but these errors were encountered: