aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Fix compilation warning on OSXSzczepan Zalega2017-03-31
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Do not fail compilation on testsSzczepan Zalega2017-03-31
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Do not check for warnings on 3rd-party code - hidapiSzczepan Zalega2017-03-31
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Fix compilation warningsSzczepan Zalega2017-03-31
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Do not allow to set delays lower than 20 msSzczepan Zalega2017-03-31
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Show warnings during the compilation and treat warnings as errorSzczepan Zalega2017-03-31
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Allow to directly choose loglevelSzczepan Zalega2017-03-29
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Allow to change device commands delays runtimeSzczepan Zalega2017-03-29
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Change log's date-time format. Code reformat.Szczepan Zalega2017-03-29
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Use separate exception for wrong receiving packet's CRCSzczepan Zalega2017-03-27
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Use proper frameworks with cmake and OSXSzczepan Zalega2017-03-20
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'osx_build'Szczepan Zalega2017-03-16
|\
| * Add function commentSzczepan Zalega2017-03-14
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Do not link hidapi under OSXSzczepan Zalega2017-03-14
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use hidapi patched for macSzczepan Zalega2017-03-13
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Never call hid exit on OSXSzczepan Zalega2017-03-13
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Documentation updateSzczepan Zalega2017-03-16
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'libnitrokey_3'Szczepan Zalega2017-03-11
|\
| * Cleanup modulesSzczepan Zalega2017-03-11
| | | | | | | | | | | | | | Remove unused PyBind11 Update hidapi git path Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Fix compilation warningsSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add tested Travis build configuration. Set proper hidapi url.Szczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Dynamically increase delay between retries on busy statusSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use own exception types instead of general runtime_errorSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Allow to check is current device visible to the OSSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Set turbo modeSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add TODO commentSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Handle enabling update mode on Storage deviceSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Check for null device reference in case of failed reconnectionSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Correct comments and fix firmware version requirementsSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Authenticate before factory reset so the command will not timeoutSzczepan Zalega2017-03-11
| | | | | | | | | | | | To investigate later Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Update encrypted volume test. Use random password.Szczepan Zalega2017-03-11
| | | | | | | | | | | | Randomizing password to ensure correctness of setting up hidden volume in current iteration Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Prefer to use log-enabled library in testsSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove obsolete commentsSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Do reconnect also on receiving failureSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove checking for mutex being lockedSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Make device-level reconnect on problem with sendingSzczepan Zalega2017-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 includesSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Count lifetime instances of device communication exceptionSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Log execution of connect functionSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Comment: use clang with TSANSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * CommentsSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use nullptr instead of NULLSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Build debug-log-free library for increased securitySzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * CommentsSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Feature check for 320 bits OTP secretSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Project info for repositoriesSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add some complex unit tests to find out corruption causeSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add oath to Pythons unittest requirementsSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Show Storage status only on matching command codeSzczepan Zalega2017-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 volumeSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>