Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Tests: check user retry counter based on PIN changing. Lock device before tests. | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Test C API in C++ (Catch) | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | CMake: Set clang as compiler and set linking flags | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Log TooLongStringException in the moment of creation | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Log when device reports command status not equal 0 | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Increase retry timeout for NK Storage for now | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Log strcpyT argument sizes info | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Show NK Storage status on response packet dissection (regardless of ↵ | Szczepan Zalega | 2016-10-19 |
| | | | | | | connected device) Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Command unlock user password for NK Storage | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle NK Storage status sent on Storage commands | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code reformat | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Command unlock user pin | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | C/C++ API: make connection and disconnection more robust | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fixed too long string test fail caused by different behavior of Storage | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fixed bug with not releasing device on disconnect | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | xfail aes support test for now | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add TODO note | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Convert char to int during dissection | Szczepan Zalega | 2016-10-13 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | NK Storage: cmd output status constants | Szczepan Zalega | 2016-10-13 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | NK Storage: update counters before getting | Szczepan Zalega | 2016-10-13 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Readme update - dependencies, compilers, format (#40) | szszszsz | 2016-09-19 |
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Merge pull request #36 from Nitrokey/issue_31-secret_as_hex | szszszsz | 2016-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 Zalega | 2016-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 #31 | Szczepan Zalega | 2016-09-10 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Add hex to binary converting function | Szczepan Zalega | 2016-09-10 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | C++ test update (compilation fix) | Szczepan Zalega | 2016-09-10 |
|/ | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Merge pull request #34 from Nitrokey/issue_33 | szszszsz | 2016-09-08 |
|\ | | | | | Function for getting device's serial number in hex. Fixes #33 | ||
| * | Function for getting device's serial number in hex. Fixes #33 | Szczepan Zalega | 2016-09-08 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Allow disabling hexdump header | Szczepan Zalega | 2016-09-08 |
|/ | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Python example update #5 | Szczepan Zalega | 2016-08-16 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Merged library exceptions declarationv1.0 | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Correction for TOTP RFC test: move authorization closer to command that | Szczepan Zalega | 2016-08-09 |
| | | | | | | needs it Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fixed test with getting random OTP codes | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove compilation warning regarding printf format in hexdump | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Return error on invalid slot | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Return error for too long string | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Small fixes | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove not used CommError class | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove redundant cast | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Return a vector to C API to duplicate there | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Return string as char* instead of uint* | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove surplus string length assertions (it is done during copying anyway) | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Test for too long PIN | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Test Status command | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Clear string result from get status | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Use templates with functors to pack code | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Rename variables | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove incorrect const declaration | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Corrected test for getting OTP codes from not programmed slot and extracted | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Rename: auth_package -> authorize_package | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> |