aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Merge branch '89-catch_exc_in_C_API'Szczepan Zalega2018-01-16
|\ | | | | | | | | Catch communication exceptions in C API to avoid crash. Fixes #89
| * Catch DeviceCommunication exceptions in C APISzczepan Zalega2018-01-16
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Merge branch '77-missing_C_header'Szczepan Zalega2018-01-16
|\ \ | |/ |/| | | | | Add missing header for C/CFFI access to the C API. Fixes #77
| * Install NK_C_API.h file to system's includesSzczepan Zalega2018-01-16
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove inttypes from build filesSzczepan Zalega2018-01-16
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'license_update'Szczepan Zalega2018-01-16
|\ | | | | | | | | Added license-headers to all source code files. Fixes #83
| * Fix typo in readme: change Lib -> libSzczepan Zalega2018-01-16
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove 'Created by sz'Szczepan Zalega2018-01-16
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add license / copyright info to Python files with proper commentSzczepan Zalega2018-01-16
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Update license/copyright linesSzczepan Zalega2018-01-16
|/ | | | | | Remove redundant file Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch '88-no_detection_under_windows'Szczepan Zalega2018-01-16
|\ | | | | | | Fixes #88
| * Update hidapi for Windows connectivity issuesSzczepan Zalega2018-01-16
|/ | | | | | | Windows 7 and 10 were not detecting devices Fixes #88 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'readme_update'Szczepan Zalega2018-01-05
|\
| * Let user know what to do when library file could not be foundSzczepan Zalega2018-01-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Update waffle status barSzczepan Zalega2018-01-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Readme updateSzczepan Zalega2018-01-05
|/ | | | | | | | | | | | | Update example Add instructions for compiling with Qt Update CMake flags (LIB_STATIC->BUILD_SHARED) Add description for more CMake flags Replace file names with their links Add information about experimental support of multiple devices Update minimal xcode used in Travis Correct information about showing Debug info in Nitrokey App 1.x Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch '82-python_example_fix'Szczepan Zalega2018-01-05
|\ | | | | | | | | | | Handle getting HOTP code properly - code is now string, not an int Additional improvements Fixes #82
| * Fix typoSzczepan Zalega2018-01-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Allow to choose log verbosity levelSzczepan Zalega2018-01-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Handle library names for all OSesSzczepan Zalega2018-01-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Handle getting HOTP code properlySzczepan Zalega2018-01-05
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch '82-python_example_fix'Szczepan Zalega2018-01-04
|\
| * Use correct filtering of C API symbols from C headerSzczepan Zalega2018-01-04
|/ | | | | | | | Recently the C API header was reformatted by adding more white-spaces, though the filtering function from example was not adjusted to it. Now the lines are stripped before further processing. Fixes #82 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'pr_80'Szczepan Zalega2017-12-11
|\ | | | | | | | | | | Closes #80 Tested on Ubuntu 17.10, CMake 3.9.1, pkg-config 0.29.1, GCC 7.2.0.
| * Only enable `-Werror` for Travis CIDavid Seifert2017-12-11
| |
| * Add support for pkg-configDavid Seifert2017-12-11
| |
| * Modernise CMakeDavid Seifert2017-12-11
|/ | | | | | | | | | | | | | | | * Make indentation uniform * Find libhid via pkg-config on Unix * Use `BUILD_SHARED_LIBS`, which is the idiomatic way to switch between static and shared libraries in CMake. https://cmake.org/cmake/help/v3.0/variable/BUILD_SHARED_LIBS.html * Remove Clang option. To use Clang, pass `CXX=clang++` as an environmental parameter to the CMake call. * Do not enable `-Werror` by default. This just causes unnecessary issues with new compiler releases. https://blog.flameeyes.eu/2009/02/future-proof-your-code-dont-use-werror/
* Merge branch 'fix_warnings'Szczepan Zalega2017-10-21
|\
| * Fix compilation warningSzczepan Zalega2017-10-21
|/ | | | | | Moved const to proper place Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'general-fixes'v3.1Szczepan Zalega2017-10-11
|\
| * Allow to use library path in tests from environment variableSzczepan Zalega2017-10-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Show proper device status codeSzczepan Zalega2017-10-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Switch logging volatile dataSzczepan Zalega2017-10-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Make Debug build by default on MacOSSzczepan Zalega2017-10-11
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'travis_update'Szczepan Zalega2017-10-11
|\ | | | | | | Use new xcode and GCC 7
| * Add GCC 7Szczepan Zalega2017-10-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Test installation procedureSzczepan Zalega2017-10-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use latest xcode. Compile offline tests for fast check.Szczepan Zalega2017-10-11
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'cleanup'Szczepan Zalega2017-10-10
|\
| * Allow to enable compilation of general and offline tests separatelySzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove -log library leftoversSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Bump version to 3.1Szczepan Zalega2017-10-10
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'test_organize'Szczepan Zalega2017-10-10
|\ | | | | | | | | | | Improve test organization Disable CRC check Improve log
| * Do not set debug level in testsSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Log updateSzczepan Zalega2017-10-10
| | | | | | | | | | | | | | | | Show progress on busy retries as dots (.) Show warning when expected CRC is different than of received response Show busy retry stats only on delay change Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Translate properly Storage error on AES decoding failSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Update device propertiesSzczepan Zalega2017-10-10
| | | | | | | | | | | | | | Increase device delays Increase retry count Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add DEBUG_L1 log messagesSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add DEBUG_L1 level and set it as default for Python testsSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Return exception type when DeviceCommunicationException is encounteredSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>