summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Magic numbers refactoringSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Erase password safe slotSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Handle writing PW safe slotSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Prepare setting password safe slotsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Handling PW safe login and passwordSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Working PW safe getting slot nameSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Handle locking deviceSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Manage retry counts of user and admin passwordsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Enabling password safe and password safe status (latter not working yet)Szczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Change fields naming in login functionSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Refactor: remove magic numbers from codeSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Add test for changing PINsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Handle changing user and admin PINsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Marking todosSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Checking not programmed slotsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Reverting memcpy to strcpySzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Moving to pytest for testing python bindingsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Use custom copy function for stringsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Handle errors with exceptionsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Left comments about alternative approach to get last command execution statusSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Handling device errors through exceptionsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Rename mark_time -> get_timeSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Get TOTP writing feedbackSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Check HOTP writing feedbackSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Set last command statusSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Check has command failed or not on deviceSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Allow setting last command status on deviceSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Number totp config bitsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Fix const declarationsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Working HOTP handling (passing RFC tests)Szczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Working TOTP handling (passing RFC tests)Szczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Show CRC in hexSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Makefile: build lib only commandSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* TOTP python testsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Write to TOTP slotSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Comments. Fix crc to authorize in write hotpSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Use factory to initialize payloadsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Initializing with external functionSzczepan 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>
* Upgrade clang to 3.8Szczepan Zalega2016-07-15
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Create build directorySzczepan Zalega2016-07-15
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge pull request #9 from privacyidea/fix_counter_resetszszszsz2016-04-19
|\ | | | | Reset the HOTP counter
| * 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.
* Merging latest master changesSzczepan Zalega2016-04-19
|\
| * Revert "Minor fixes, working version"Szczepan Zalega2016-04-19
| | | | | | | | This reverts commit 3bb6c38ed17c2cf0d2f68bb64fbd24737c4a6677.
| * Update Readme: cloning recursively with gitSzczepan Zalega2016-04-13
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan.zalega@gmail.com>
| * Add initial readme fileszszszsz2016-04-13
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan.zalega@gmail.com>
| * Adding License file, GPLv3Szczepan Zalega2016-03-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan.zalega@gmail.com>
| * Minor fixes, working versionMateusz Zalega2015-10-22
| |
* | 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>