Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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> | ||
* | Remove support for new authorization protocol for storage | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Throw on not connected device when requesting model | 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> | ||
* | Comments - fixme | Szczepan Zalega | 2017-03-11 |
| | | | | 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> | ||
* | More debug log info during dev connection | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Do not call disconnect on connect | Szczepan Zalega | 2017-03-11 |
| | | | | | | device will be disconnected automatically in its destructor 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> | ||
* | Protect concurrent use with lock guard | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove UNKNOWN type of the device | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Use atomic_exchange for atomic operations | 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> | ||
* | Use lock_guard while accessing hid_api | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Make device configuration const, protect non-const with ::atomic | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Helper functions for getting device state | Szczepan Zalega | 2017-01-11 |
| | | | | | | | | | get status for Pro and Storage check is device connected use make_shared for keeping instance reference fixed accessing active volume flag Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Use stdint instead of inttypes | Szczepan Zalega | 2017-01-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove unused inttypes | Szczepan Zalega | 2017-01-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Merge pull request #53 from Nitrokey/nk_pro_0.8_authorization_fix-longer_secretv2.0 | szszszsz | 2016-12-12 |
|\ | | | | | Support for Nitrokey Pro 0.8 | ||
| * | Use the rest of the Pro 0.7 commands in 0.8 interface | Szczepan Zalega | 2016-12-12 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Use proper firmware version getter for feature availability check | Szczepan Zalega | 2016-12-12 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Remove changes to Pro 0.7 stick commands | Szczepan Zalega | 2016-12-12 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Tests: skip edit OTP slot test for NK Storage 0.44 | Szczepan Zalega | 2016-12-12 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Tests: clear new SD card warning on factory reset | Szczepan Zalega | 2016-12-12 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Add a note regarding Password Safe tests | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Test null started OTP secrets also for 320bit case | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Remove old skipping code. Feature comment. | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Skip non-Storage and old devices for Storage tests | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Enable factory reset test for Nitrokey Storage. Comments. | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Add NK Storage specific reply on running not initialized Password Safe | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Apply firmware versions limits to tests | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Code reformat in library test | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Allow to skip test if device is not able to pass it | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Use switch to translate command and device statuses instead of array | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Check maximum OTP secret size in new authorization style commands | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | | | | | | | Authenticate before testing invalid hex strings Remove invalid test for empty string for writing otp slot (empty string allows editing) Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Tests: check are long OTP secrets supported | Szczepan Zalega | 2016-12-09 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Get major firmware version | Szczepan Zalega | 2016-12-06 |
| | | |||
| * | Add missing newlines to make code format consistent | Szczepan Zalega | 2016-12-03 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Test for manual checking of TOTP slot written by Nitrokey App | Szczepan Zalega | 2016-12-03 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Update comments | Szczepan Zalega | 2016-12-03 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
| * | Update description for TOTP_RFC_usepin test | Szczepan Zalega | 2016-12-03 |
| | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> |