aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Add strcpyT to misc.hSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add dissection template to commandsSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove already implemented commandsSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove password matrix commandsSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code reformatSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Migrate commands to new formatSzczepan Zalega2016-11-26
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Fix compilation G++6 errorSzczepan Zalega2016-11-18
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Fix compilation warning and error under G++ - use union to reach uint8 ↵Szczepan Zalega2016-10-22
| | | | | | slot_counter for NK Storage. Fixes #46 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge pull request #42 from Nitrokey/13-storage_pro_cmdsszszszsz2016-10-19
|\ | | | | Support Pro stick commands on Storage device
| * Tests: xfail factory reset test for StorageSzczepan Zalega2016-10-19
| | | | | | | | | | | | Tests: updated skip/xfail actions Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: template for testing OTP secrets starting from nullSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: do not check 64bit TOTP time in general TOTP testSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: HOTP 64bit counterSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Show hex values in debug messages for certain parametersSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Handle HOTP counters as strings for StorageSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Fix bug for setting HOTP counters - send uint64 (was uint8)Szczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: HOTP countersSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: xfail TOTP 64bit only for StorageSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: detect device Pro/Storage. skip AES_support command test for StorageSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add all devices' and commands' statusesSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring: replacing magic numbersSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring: variables names unificationSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring: removing disambiguity from device constantsSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring: replacing magic numbersSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring: c++ castsSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code reformatSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Set shorter delays in sending/receiving packets (2)Szczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Set shorter delays in sending/receiving packetsSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring: rename - disambiguate receiving counter from sendingSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Resend outgoing packet on invalid crc and when used all receiving retriesSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Make packet valid when its crc is not equal 0Szczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: TOTP 64bit time testSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests cleanup: move wait function upSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Skip factory reset until full recovery will be implemented for NK Storage, ↵Szczepan Zalega2016-10-19
| | | | | | | | | | | | namely STICK20_CMD_CLEAR_NEW_SD_CARD_FOUND command Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Improve TOTP test - check all codes before failing, use readable names for ↵Szczepan Zalega2016-10-19
| | | | | | | | | | | | variables Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Support regenerating AES keys on NK StorageSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Dictionary updateSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: check user retry counter based on PIN changing. Lock device before tests.Szczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Test C API in C++ (Catch)Szczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * CMake: Set clang as compiler and set linking flagsSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Log TooLongStringException in the moment of creationSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Log when device reports command status not equal 0Szczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Increase retry timeout for NK Storage for nowSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Log strcpyT argument sizes infoSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Show NK Storage status on response packet dissection (regardless of ↵Szczepan Zalega2016-10-19
| | | | | | | | | | | | connected device) Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Command unlock user password for NK StorageSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Handle NK Storage status sent on Storage commandsSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code reformatSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Command unlock user pinSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * C/C++ API: make connection and disconnection more robustSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>