aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fix naming for change password commands idsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Set commands enum values by hand for greater verbositySzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Import command ids defined as macro to test local enumSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Handle FillSDCardWithRandomChars command and test itSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Handle busy_progressbar device statusSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test: check device status. Use automatic disconnection.Szczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Try to disconnect when destroying deviceSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test: another commandsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Fix printing macroSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Disable warnings about GNU extension during C++ tests compilationSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test: check more commandsSzczepan Zalega2016-11-26
| | | | | | Add delay after each command by default. Check EnableHiddenEncryptedPartition more than once. Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test: reduced code bloatSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test: let device rest after enabling encrypted partitionSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove static keyword from CommandID dissectionSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove obsolete macroSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Build properly subtasks in parallelSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Another set of Storage password-only commandsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* C++ tests update (2) - wait before lockSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* C++ tests updateSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Make device slower for now for easier debuggingSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Enable hidden encrypted partitionSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* C++ tests for Storage commandsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* First template based password commands. Initial dissect support for commandsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* General password based commandSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Add strcpyT to misc.hSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Add dissection template to commandsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove already implemented commandsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove password matrix commandsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Code reformatSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Migrate commands to new formatSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Fix compilation G++6 errorSzczepan Zalega2016-11-18
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Fix compilation warning and error under G++ - use union to reach uint8 ↵Szczepan Zalega2016-10-22
| | | | | | slot_counter for NK Storage. Fixes #46 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge pull request #42 from Nitrokey/13-storage_pro_cmdsszszszsz2016-10-19
|\ | | | | Support Pro stick commands on Storage device
| * Tests: xfail factory reset test for StorageSzczepan Zalega2016-10-19
| | | | | | | | | | | | Tests: updated skip/xfail actions Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: template for testing OTP secrets starting from nullSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: do not check 64bit TOTP time in general TOTP testSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: HOTP 64bit counterSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Show hex values in debug messages for certain parametersSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Handle HOTP counters as strings for StorageSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Fix bug for setting HOTP counters - send uint64 (was uint8)Szczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: HOTP countersSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: xfail TOTP 64bit only for StorageSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: detect device Pro/Storage. skip AES_support command test for StorageSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add all devices' and commands' statusesSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring: replacing magic numbersSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring: variables names unificationSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring: removing disambiguity from device constantsSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring: replacing magic numbersSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring: c++ castsSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code reformatSzczepan Zalega2016-10-19
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>