Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Dynamically increase delay between retries on busy status | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Use own exception types instead of general runtime_error | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Allow to check is current device visible to the OS | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Add TODO comment | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Handle enabling update mode on Storage device | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Make device-level reconnect on problem with sending | Szczepan Zalega | 2017-03-11 | |
| | | | | | | | Make it 3 times before throwing exception Call hid_exit on last device disconnection Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Reorder includes | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Count lifetime instances of device communication exception | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Comments | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Use nullptr instead of NULL | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Build debug-log-free library for increased security | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Comments | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Feature check for 320 bits OTP secret | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Show Storage status only on matching command code | Szczepan Zalega | 2017-03-11 | |
| | | | | | | Should not show on commands where it is not supplied Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Use proper command code for disabling hidden volume | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Make names more consistent | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Rename is_connected to be more specific | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Get proper card serial for Storage. Get serial as one number. | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Return SD card size as get from the device | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Handle SD card related functions | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Correct device counters | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Rename strdup to _strdup under MSVC | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Compiles on MXE, but not working on Windows | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Adjust for compilation on Visual Studio 2017 | Szczepan Zalega | 2017-03-11 | |
| | | | | Building works however tests are not. Possibly linking with original hidapi solution would work. | |||
* | Test compilation under windows | Szczepan Zalega | 2017-03-11 | |
| | ||||
* | Count all busy status | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Disable early device disconnection on communication error | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Allow device to reply 10 times with busy status in a try | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Make statistics about device's connection | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Allow users to lock encrypted volumes specifically | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Disconnect device as soon as the communication issue appears | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Add description for some Storage variables | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Throw before communicating with device if it is not initialized | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Add more shortcuts for checking devices error code | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Add method for checking is the device listed as connected in OS | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Pass devices shared pointer to methods instead of ref | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Make disconnect thread safe. Check is device actually connected by invoking ↵ | Szczepan Zalega | 2017-03-11 | |
| | | | | | | its checking method Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Be tread-safe on initializing instance | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Use local hexdumping function for getting serial number | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Send current time when checking time synchronization | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Use const char pointers for C strings | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Read slot command support | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Fix getting card serial | Szczepan Zalega | 2017-03-11 | |
| | | | | | todo: remove whitespace at the string end Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Check command's fail reason within exception | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Method to get commands failure cause | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Fix firmware version in device status | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Name fix for firmware version getter | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Decrease retry count to 20 | Szczepan Zalega | 2017-03-11 | |
| | | | | | | Update log message to be more readable Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Add const qualifier to functions | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Add lock_guard for complete send-receive cycle | Szczepan Zalega | 2017-03-11 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> |