Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | 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> | |||
* | Handle disconnection while requesting device's status | 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. | |||
* | Mark issues with FIXME | 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> | |||
* | 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> | |||
* | 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 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> | |||
* | 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> | |||
* | 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> | |||
* | Protect concurrent use with lock guard | 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> | |||
* | 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> | |||
* | Remove unused inttypes | Szczepan Zalega | 2017-01-09 | |
| | | | | 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> | |||
* | 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> | |||
* | Get major firmware version | Szczepan Zalega | 2016-12-06 | |
| | ||||
* | Merge HOTP and TOTP writing commands for 0.8 | Szczepan Zalega | 2016-12-03 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Remove length field from send_otp_data packet | Szczepan Zalega | 2016-12-03 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Support longer secrets (40 bytes) for NK Pro 0.8 | Szczepan Zalega | 2016-12-03 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Use another OTP writing protocol and test it | Szczepan Zalega | 2016-12-03 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Working support for new NK Pro 0.8 authorization-less format | Szczepan Zalega | 2016-12-03 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Convinient function for checking if authorization command is supported | Szczepan Zalega | 2016-12-03 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Rename methods in API to make string return more obvious | Szczepan Zalega | 2016-11-26 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Document Storage methods in C API | Szczepan Zalega | 2016-11-26 | |
| | | | | | | Use uint8_t instead of int where appropriate Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Tests: remake fill SD card test. Get progress bar value when busy. | Szczepan Zalega | 2016-11-26 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Python bindings and tests for most of Storage functionality | Szczepan Zalega | 2016-11-26 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Set default debug level to DEBUG | Szczepan Zalega | 2016-11-26 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Code refactoring - unify password only commands (2) | Szczepan Zalega | 2016-11-26 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Code refactoring - unify password only commands | Szczepan Zalega | 2016-11-26 | |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | |||
* | Make packet variables' names more clear | Szczepan Zalega | 2016-11-26 | |
| | | | | | | | | General fixes Remove default values from hidden volume setup command rename password -> pin 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> | |||
* | Handle HOTP counters as strings for Storage | 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> | |||
* | Support regenerating AES keys on NK Storage | 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> |