aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Merge pull request #53 from Nitrokey/nk_pro_0.8_authorization_fix-longer_secretv2.0szszszsz2016-12-12
|\ | | | | Support for Nitrokey Pro 0.8
| * Use the rest of the Pro 0.7 commands in 0.8 interfaceSzczepan Zalega2016-12-12
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use proper firmware version getter for feature availability checkSzczepan Zalega2016-12-12
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove changes to Pro 0.7 stick commandsSzczepan Zalega2016-12-12
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: skip edit OTP slot test for NK Storage 0.44Szczepan Zalega2016-12-12
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: clear new SD card warning on factory resetSzczepan Zalega2016-12-12
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add a note regarding Password Safe testsSzczepan Zalega2016-12-09
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Test null started OTP secrets also for 320bit caseSzczepan Zalega2016-12-09
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove old skipping code. Feature comment.Szczepan Zalega2016-12-09
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Skip non-Storage and old devices for Storage testsSzczepan Zalega2016-12-09
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Enable factory reset test for Nitrokey Storage. Comments.Szczepan Zalega2016-12-09
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add NK Storage specific reply on running not initialized Password SafeSzczepan Zalega2016-12-09
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Apply firmware versions limits to testsSzczepan Zalega2016-12-09
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code reformat in library testSzczepan Zalega2016-12-09
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Allow to skip test if device is not able to pass itSzczepan Zalega2016-12-09
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use switch to translate command and device statuses instead of arraySzczepan Zalega2016-12-09
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Check maximum OTP secret size in new authorization style commandsSzczepan Zalega2016-12-09
| | | | | | | | | | | | | | Authenticate before testing invalid hex strings Remove invalid test for empty string for writing otp slot (empty string allows editing) Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Tests: check are long OTP secrets supportedSzczepan Zalega2016-12-09
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Get major firmware versionSzczepan Zalega2016-12-06
| |
| * Add missing newlines to make code format consistentSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Test for manual checking of TOTP slot written by Nitrokey AppSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Update commentsSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Update description for TOTP_RFC_usepin testSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Merge HOTP and TOTP writing commands for 0.8Szczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Test to configure getting HOTP codes through special key double pressSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Support sending empty OTP secrets for slot edit (+test)Szczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove length field from send_otp_data packetSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Support longer secrets (40 bytes) for NK Pro 0.8Szczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use another OTP writing protocol and test itSzczepan Zalega2016-12-03
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * 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>