aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Remove compilation warning regarding printf format in hexdumpSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Return error on invalid slotSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Return error for too long stringSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Small fixesSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove not used CommError classSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove redundant castSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Return a vector to C API to duplicate thereSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Return string as char* instead of uint*Szczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove surplus string length assertions (it is done during copying anyway)Szczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test for too long PINSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test Status commandSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Clear string result from get statusSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Use templates with functors to pack codeSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Rename variablesSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove incorrect const declarationSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Corrected test for getting OTP codes from not programmed slot and extractedSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Rename: auth_package -> authorize_packageSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Move manager instance to shared_ptrSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Moving to shared ptr for deviceSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Replace Authorization commands with shorter versionSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Clear TODOsSzczepan Zalega2016-08-08
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Clearing whole response packet instead of only payload part #20Szczepan Zalega2016-08-08
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Clear incoming packets as soon they meet their lifetime endv0.9Szczepan Zalega2016-08-05
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Clear outgoing packet as soon as command response is receivedSzczepan Zalega2016-08-05
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Use device autodetection in testsSzczepan Zalega2016-08-05
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Autodetect inserted stick and connect to itSzczepan Zalega2016-08-05
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Catch runtime exceptions on C API login and show them on screenSzczepan Zalega2016-08-05
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Bindings example updateSzczepan Zalega2016-08-05
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge pull request #21 from waffle-iron/masterszszszsz2016-08-05
|\ | | | | waffle.io Badge
| * add waffle.io badgeMaking GitHub Delicious2016-08-04
| |
* | Revert "DEBUG add debug symbols to binary"Szczepan Zalega2016-08-05
| | | | | | | | This reverts commit c6ee3c7e8de73c80928b8ab22539a8129886c154.
* | Lock issue test comment updateSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Test for writing token ID to OTP slotSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Slots token ID documentation and payload fields updateSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Slots config writing - C API documentation updateSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Test factory reset commandSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Show test parameters names in test nameSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Display general config flags as intSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Set xfail on sometimes failing testsSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Update general config commands - bool -> uint8_tSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Cleaned HOTP testsSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Test for PIN protected TOTP gettingSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Fixed PIN protected HOTP requestsSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Support writing token id to OTP slots in APISzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Remove obsolete commentsSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Add slot token id fixmeSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Check command status for set_time during TOTP testsSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Make is_AES test more strict (check behavior for wrong password)Szczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Do not catch exception in is_AES supportedSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Clear last command status on the device when checkedSzczepan Zalega2016-08-05
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>