aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * 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>
| * Fixed too long string test fail caused by different behavior of StorageSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Fixed bug with not releasing device on disconnectSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * xfail aes support test for nowSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add TODO noteSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Convert char to int during dissectionSzczepan Zalega2016-10-13
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * NK Storage: cmd output status constantsSzczepan Zalega2016-10-13
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * NK Storage: update counters before gettingSzczepan Zalega2016-10-13
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Readme update - dependencies, compilers, format (#40)szszszsz2016-09-19
| | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge pull request #36 from Nitrokey/issue_31-secret_as_hexszszszsz2016-09-10
|\ | | | | #31 pass secret to OTP as hex (breaking change - previously any string was accepted)
| * Remove asserts in favor of exceptions or warnings. Test changes in Python.Szczepan Zalega2016-09-10
| | | | | | | | | | | | On possible data truncation return LibraryError(exception) instead of silently truncating and logging warning Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Assume secret is coded in hex for OTP slot write #31Szczepan Zalega2016-09-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add hex to binary converting functionSzczepan Zalega2016-09-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * C++ test update (compilation fix)Szczepan Zalega2016-09-10
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge pull request #34 from Nitrokey/issue_33szszszsz2016-09-08
|\ | | | | Function for getting device's serial number in hex. Fixes #33
| * Function for getting device's serial number in hex. Fixes #33Szczepan Zalega2016-09-08
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Allow disabling hexdump headerSzczepan Zalega2016-09-08
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Python example update #5Szczepan Zalega2016-08-16
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merged library exceptions declarationv1.0Szczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Correction for TOTP RFC test: move authorization closer to command thatSzczepan Zalega2016-08-09
| | | | | | needs it Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Fixed test with getting random OTP codesSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove compilation warning regarding printf format in hexdumpSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Return error on invalid slotSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>