aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Tests: more OTP, test all slots for read/writeSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: secret started with null byteSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add test for STATUS_AES_DEC_FAILED errorSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Move temporary_password to packet endSzczepan Zalega2016-12-03
| | | | | | | | | | | | To allow read-only backward compatibility for GET_CODE Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Working support for new NK Pro 0.8 authorization-less formatSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Mark unused packet variables in TOTP`s GET_CODESzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add requirements for running pytest testsSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Convinient function for checking if authorization command is supportedSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Detect Pro 0.8Szczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Check firware version in Pro 0.8 testSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Authorize before write in WriteToSlot testSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests - ensure required env is set, fix HOTP constSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Authorization fix: GetTOTP and WriteToTOTPSLot + testSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Authorization fix: GetHOTP and WriteGeneralConfig + testSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Fix for auth issue in NK ProSzczepan Zalega2016-11-26
|/ | | | | | for commands EraseSlot, WriteToSlot, GetCode + tests Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge pull request #52 from Nitrokey/14-storage_commandsszszszsz2016-11-26
|\ | | | | Support Nitrokey Storage
| * Rename methods in API to make string return more obviousSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Skip hanging testsSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Document Storage methods in C APISzczepan Zalega2016-11-26
| | | | | | | | | | | | Use uint8_t instead of int where appropriate Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: remake fill SD card test. Get progress bar value when busy.Szczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Treat LongOperationException as CommandFailed and handle it transparentlySzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Python bindings and tests for most of Storage functionalitySzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Decrease debug log output in c++ testsSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Helper for running simple, password only commands for StorageSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Set default debug level to DEBUGSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * .gitignore updateSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests reorganization (Python)Szczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Disable locking firmware command for nowSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring - named magic numbers (2)Szczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring - named magic numbersSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Transmission data for 2.0 commands move to separate structSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring - unify password only commands (2)Szczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code refactoring - unify password only commandsSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Define configuration response packet separatelySzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Describe commands and mark unusedSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: skip long and dangerous testsSzczepan Zalega2016-11-26
| | | | | | | | | | | | remove hidden volume test from general test Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests refactoring - replace magic values with constantsSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Make packet variables' names more clearSzczepan Zalega2016-11-26
| | | | | | | | | | | | | | | | General fixes Remove default values from hidden volume setup command rename password -> pin Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Support getting SD card occupancy and testSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Mark unused commands and remove obsolete codeSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Support for changing firmware update password and testSzczepan Zalega2016-11-26
| | | | | | | | 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>
| * Test multiple hidden volumes with different passwords and locationsSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Support for setting hidden volume and test for itSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Test command ids correctness and getting device statusSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Support Storage status commands: SendStartup ProductionTestSzczepan Zalega2016-11-26
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * 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>