aboutsummaryrefslogtreecommitdiff
path: root/misc.cc
Commit message (Collapse)AuthorAge
* Adjust for compilation on Visual Studio 2017Szczepan Zalega2017-03-11
| | | | Building works however tests are not. Possibly linking with original hidapi solution would work.
* Fix getting card serialSzczepan Zalega2017-03-11
| | | | | todo: remove whitespace at the string end Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Support sending empty OTP secrets for slot edit (+test)Szczepan Zalega2016-12-03
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Support longer secrets (40 bytes) for NK Pro 0.8Szczepan Zalega2016-12-03
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Print ascii representation of dump in hexdumpSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove asserts in favor of exceptions or warnings. Test changes in Python.Szczepan Zalega2016-09-10
| | | | | | On possible data truncation return LibraryError(exception) instead of silently truncating and logging warning Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Add hex to binary converting functionSzczepan Zalega2016-09-10
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Allow disabling hexdump headerSzczepan Zalega2016-09-08
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove compilation warning regarding printf format in hexdumpSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* formatted code with clang-format-3.6 with style=googleSzczepan Zalega2016-03-05
|
* Minor fixes, working versionMateusz Zalega2015-10-26