Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Return serial number as uint32_t from C API | Robin Krahl | 2020-04-02 |
| | | | | | | | | | This patch adds the function NK_device_serial_number_as_u32 to the C API. It is similar to NK_device_serial_number but returns the raw unsigned integer instead of a formatted string. This patch also adds a simple test case that ensures that the number is not zero. Fixes #172. | ||
* | Data retention test. Refactoring. Helper functions. | Szczepan Zalega | 2020-02-26 |
| | |||
* | Refactor move 2 | Szczepan Zalega | 2020-02-26 |
| | |||
* | Refactor move | Szczepan Zalega | 2020-02-26 |
| | |||
* | Refactor rename | Szczepan Zalega | 2020-02-26 |
| | |||
* | Bootloader data retention test | Szczepan Zalega | 2020-02-26 |
| | |||
* | Skip bootloader activation unless specified by the switch | Szczepan Zalega | 2020-02-26 |
| | |||
* | Rename the actual bootloader switching test to a distinct name | Szczepan Zalega | 2020-02-26 |
| | |||
* | Correct result of successful execution for bootloader to DISCONNECTED | Szczepan Zalega | 2020-02-26 |
| | |||
* | Add tests for Pro`s bootloader | Szczepan Zalega | 2020-02-26 |
| | |||
* | Add numbers to generated OTP slot names | Szczepan Zalega | 2019-06-25 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Cleanup: replace magic numbers. Correct copyright dates.v3.5 | Szczepan Zalega | 2019-06-24 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Collect received OTP codes for all slots and print them | Szczepan Zalega | 2019-06-22 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add another test for reading and writing OTP slots | Szczepan Zalega | 2019-06-22 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Test writing edge OTP slots | Szczepan Zalega | 2019-06-22 |
| | | | | | | | This tests encountered bug in the Storage v0.54 RC. Write either TOTP15 or HOTP1, and try to access the other. Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add HOTP counter tests | Szczepan Zalega | 2019-06-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Extend TOTP time test up to 64 bits | Szczepan Zalega | 2019-06-14 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add test for firmware password length | Szczepan Zalega | 2019-06-13 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add exclusions to the Pro firmware tests | Szczepan Zalega | 2019-06-13 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Comments: fixme | Szczepan Zalega | 2019-06-13 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add Python tests | Szczepan Zalega | 2019-06-13 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Unlock 64 bit tests for Storage | Szczepan Zalega | 2019-03-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Storage v0.54: activate tests for OTP320 and binary counter | Szczepan Zalega | 2019-03-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add unit test for NK_get_status | Robin Krahl | 2019-01-29 |
| | |||
* | Handle UNKNOWN_ERROR return code | Szczepan Zalega | 2018-11-22 |
| | | | | | | | | Handle UNKNOWN_ERROR code (introduced in Storage v0.51, firmware commit 687d4aca31ce405db41231be73864ee2f91b3714) and is returned, when device fails to retrieve the AES key. Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Merge branch 'pr_116'v3.4 | Szczepan Zalega | 2018-07-07 |
|\ | | | | | | | | | | | Allow to connect to device with model specified by enum. Fixes #116 | ||
| * | Replace *out function parameter with return value | Szczepan Zalega | 2018-06-20 |
| | | | | | | | | | | | | | | Using return value instead of memory manipulation seem to be cleaner solution and less error prone due to avoiding pointer usage. Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | | Skip test for devices with firmware lower than v0.9 | Szczepan Zalega | 2018-05-24 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | | Add authorization tests | Szczepan Zalega | 2018-05-21 |
|/ | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Correct firmware version getting in Pro tests | Szczepan Zalega | 2018-03-02 |
| | | | | | | Done for Pro devices Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add license / copyright info to Python files with proper comment | Szczepan Zalega | 2018-01-16 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Do not set debug level in tests | Szczepan Zalega | 2017-10-10 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Organize tests into categories | Szczepan Zalega | 2017-10-04 |
| | | | | | | ... by adding pytest marks. Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Merge branch 'windows_MSVC2017' into OSX_merge_cleaned | Szczepan Zalega | 2017-09-20 |
|\ | |||
| * | Skip factory reset tests for now | Szczepan Zalega | 2017-07-03 |
| | | | | | | | | | | | | Not working due to CRC error bug Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Move to Python 3 | Szczepan Zalega | 2017-07-03 |
| | | | | | | | | Tested under Windows 8.1 and MSVC 2017 RC | ||
* | | Tests: do additional authentication for Pro 0.7 | Szczepan Zalega | 2017-09-20 |
|/ | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Return OTP codes as strings to make sure they are zero-filled properly | Szczepan Zalega | 2017-04-03 |
| | | | | | | | | | Adjust Python tests for new OTP codes return value Also remove manual 0-filling Fixes #57 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Correct comments and fix firmware version requirements | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Authenticate before factory reset so the command will not timeout | Szczepan Zalega | 2017-03-11 |
| | | | | | | To investigate later Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add some complex unit tests to find out corruption cause | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Tests: skip edit OTP slot test for NK Storage 0.44 | Szczepan Zalega | 2016-12-12 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Tests: clear new SD card warning on factory reset | Szczepan Zalega | 2016-12-12 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add a note regarding Password Safe tests | Szczepan Zalega | 2016-12-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Test null started OTP secrets also for 320bit case | Szczepan Zalega | 2016-12-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove old skipping code. Feature comment. | Szczepan Zalega | 2016-12-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Enable factory reset test for Nitrokey Storage. Comments. | Szczepan Zalega | 2016-12-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add NK Storage specific reply on running not initialized Password Safe | Szczepan Zalega | 2016-12-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Apply firmware versions limits to tests | Szczepan Zalega | 2016-12-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add missing newlines to make code format consistent | Szczepan Zalega | 2016-12-03 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> |