Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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> | ||
* | 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> | ||
* | 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> | ||
* | 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> | ||
* | Remove changes to Pro 0.7 stick commands | Szczepan Zalega | 2016-12-12 |
| | | | | 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> | ||
* | Get major firmware version | Szczepan Zalega | 2016-12-06 |
| | |||
* | Update comments | Szczepan Zalega | 2016-12-03 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | 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> | ||
* | Move temporary_password to packet end | Szczepan Zalega | 2016-12-03 |
| | | | | | | To allow read-only backward compatibility for GET_CODE 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> | ||
* | Mark unused packet variables in TOTP`s GET_CODE | 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> | ||
* | Check firware version in Pro 0.8 test | Szczepan Zalega | 2016-12-03 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Authorization fix: GetTOTP and WriteToTOTPSLot + test | Szczepan Zalega | 2016-12-03 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Authorization fix: GetHOTP and WriteGeneralConfig + test | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fix for auth issue in NK Pro | Szczepan Zalega | 2016-11-26 |
| | | | | | | for commands EraseSlot, WriteToSlot, GetCode + tests 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> | ||
* | Treat LongOperationException as CommandFailed and handle it transparently | 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> | ||
* | Helper for running simple, password only commands for Storage | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Disable locking firmware command for now | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring - named magic numbers (2) | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring - named magic numbers | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Transmission data for 2.0 commands move to separate struct | 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> | ||
* | Define configuration response packet separately | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Describe commands and mark unused | 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> | ||
* | Support getting SD card occupancy and test | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Mark unused commands and remove obsolete code | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Support for changing firmware update password and test | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Support for setting hidden volume and test for it | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Support Storage status commands: SendStartup ProductionTest | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fix naming for change password commands ids | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Set commands enum values by hand for greater verbosity | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle FillSDCardWithRandomChars command and test it | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> |