Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Nitrokey Storage #52

Merged
merged 60 commits into from
Nov 26, 2016
Merged

Support Nitrokey Storage #52

merged 60 commits into from
Nov 26, 2016

Conversation

szszszsz
Copy link
Member

@szszszsz szszszsz commented Nov 26, 2016

Tested on Ubuntu 16.04/16.10, Clang++ 3.8, G++ 5.4/6.2
Nitrokey Storage v0.43, Pro v0.7
Python unit tests passes
Supporting most of the Storage commands.
Delays increased from 20ms to 200ms for now due to some Storage commands needing more time for execution. Will be decreased back later.
Fixes #14
Fixes #45

Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Add delay after each command by default. Check EnableHiddenEncryptedPartition more than once.

Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
General fixes
Remove default values from hidden volume setup command
rename password -> pin

Signed-off-by: Szczepan Zalega <[email protected]>
remove hidden volume test from general test

Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
Use uint8_t instead of int where appropriate

Signed-off-by: Szczepan Zalega <[email protected]>
Signed-off-by: Szczepan Zalega <[email protected]>
@szszszsz szszszsz changed the title 14 storage commands Support Nitrokey Storage Nov 26, 2016
@szszszsz szszszsz merged commit f60f2cf into master Nov 26, 2016
@szszszsz szszszsz deleted the 14-storage_commands branch November 26, 2016 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant