aboutsummaryrefslogtreecommitdiff
path: root/unittest/test_HOTP.cc
Commit message (Collapse)AuthorAge
* Update for compatibility with Catch2 version 2.3.0Tom Hughes2018-07-24
|
* Fix compilation warnings for testsSzczepan Zalega2018-04-19
| | | | | | | Cleanup CMakeList a bit as well. Fixes #97 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Null-terminate the argument for strtoulRobin Krahl2018-04-10
| | | | | | As discussed in issue #95, the buffer passed to strtoul must be null-terminated. This patch null-terminates the buffer used in hexStringToByte in the test_HOTP unit test to avoid a buffer over-read.
* Fix Capture for Catch v2.0Szczepan Zalega2018-01-29
| | | | 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>
* Use CMake instead of MakeSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* C++ tests fixedSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* C++ test update (compilation fix)Szczepan Zalega2016-09-10
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* C++ tests: use get_payload() function to clear packet before usingSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Initial version of C/Python bindingsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Reset the HOTP counterCornelius Kölbel2016-04-19
| | | | | | If the token was initialized earlier the HOTP counter could be unequal zero resulting in faliing tests. This resets the counter of this slot to 0.
* checking slots programmed with nitrokey app (should be moved to separate TC)Szczepan Zalega2016-04-19
| | | | Signed-off-by: Szczepan Zalega <szczepan.zalega@gmail.com>
* Send temporary passwordSzczepan Zalega2016-04-13
| | | | Signed-off-by: Szczepan Zalega <szczepan.zalega@gmail.com>
* fix slot name shortenedSzczepan Zalega2016-03-29
|
* code cleanupSzczepan Zalega2016-03-29
|
* working hotp tests on nitrokey pro (stick10)Szczepan Zalega2016-03-29
| | | | Signed-off-by: Szczepan Zalega <szczepan.zalega@gmail.com>
* adding next steps for hotp tests: writing, reading and authorization for ↵Szczepan Zalega2016-03-29
| | | | writing hotp code
* implementing hotp testSzczepan Zalega2016-03-21
|
* adding hextobyte implementationSzczepan Zalega2016-03-20
|
* adding hotp test suiteSzczepan Zalega2016-03-20