-
Notifications
You must be signed in to change notification settings - Fork 19
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
Sudden data loss on EV #98
Comments
Firmware changes: - Guard configuration structure access to avoid rare event resulting in data loss - Mark global variables volatile, where accessed between tasks - Timeout and reset DMA channels on failure - Introduce smart card start up delay to favor internal processes - Increased firmware version to v0.55 - Configuration access refactorization for easier data manipulation Development: - Import project to Atmel Studio 7 - Allow to build using Makefile - Add stub for CMake usage - Remove obsolete code - Add initial support for stack guard protection Connected: #98 Tested on: - macOS 10.15.2 - Linux Fedora 32 - Windows 10 20H2 with: - libnitrokey 3.6 (Python test suites; skipped on Windows) - Nitrokey App v1.4 (manual test) For tests firmware was built using GCC 4.3.3 (AVR_Toolchain_3.0_124), -O0. Firmware upgrade and downgrade tested on the previous latest firmware. Test suite was modified to account TOTP#15 slot being disabled.
Should be fixed in v0.55 release. Leaving open for monitoring. To be closed on the next release. |
Unfortunately this problem has reproduced again, on a different OS. Quote from the user's report below:
I expect some data access race condition is still occurring, which was missed during the last time the code was reviewed. This should be found and removed, or the implementation restructured. Having a backup configuration page should help as well. |
This was reported recently on the support forum with current firmware, but the cause seem to be in the configuration being lost or overwritten. In general the frequency of the data lost look a lot smaller than it used to be before the latest release. |
User reports sudden data loss on Windows 10 on Encrypted Volume. From the description it appears that the AES key was changed. Asking for further details.
The text was updated successfully, but these errors were encountered: