Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Code reformat | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Migrate commands to new format | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fix compilation G++6 error | Szczepan Zalega | 2016-11-18 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fix compilation warning and error under G++ - use union to reach uint8 ↵ | Szczepan Zalega | 2016-10-22 |
| | | | | | | slot_counter for NK Storage. Fixes #46 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Show hex values in debug messages for certain parameters | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fix bug for setting HOTP counters - send uint64 (was uint8) | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Tests: detect device Pro/Storage. skip AES_support command test for Storage | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add all devices' and commands' statuses | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring: replacing magic numbers | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring: variables names unification | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring: removing disambiguity from device constants | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring: replacing magic numbers | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring: c++ casts | 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> | ||
* | Code refactoring: rename - disambiguate receiving counter from sending | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Resend outgoing packet on invalid crc and when used all receiving retries | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Make packet valid when its crc is not equal 0 | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Support regenerating AES keys on NK Storage | 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> | ||
* | 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> | ||
* | 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> | ||
* | 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> | ||
* | 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> | ||
* | Add hex to binary converting function | Szczepan Zalega | 2016-09-10 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | 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> | ||
* | Merged library exceptions declarationv1.0 | 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> | ||
* | Remove not used CommError class | 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 incorrect const declaration | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Move manager instance to shared_ptr | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Moving to shared ptr for device | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Clearing whole response packet instead of only payload part #20 | Szczepan Zalega | 2016-08-08 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Clear incoming packets as soon they meet their lifetime endv0.9 | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Clear outgoing packet as soon as command response is received | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Autodetect inserted stick and connect to it | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Slots token ID documentation and payload fields update | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Display general config flags as int | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Update general config commands - bool -> uint8_t | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fixed PIN protected HOTP requests | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Support writing token id to OTP slots in API | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove obsolete comments | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> |