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

nk3 secrets add-password quick help needs clarification #493

Open
Ingo-Albrecht opened this issue Jan 14, 2024 · 0 comments
Open

nk3 secrets add-password quick help needs clarification #493

Ingo-Albrecht opened this issue Jan 14, 2024 · 0 comments

Comments

@Ingo-Albrecht
Copy link

Ingo-Albrecht commented Jan 14, 2024

Unlike described in the quick help:

 $ nitropy nk3 secrets add-password --help
 Command line tool to interact with Nitrokey devices 0.4.44
 Usage: nitropy nk3 secrets add-password [OPTIONS] NAME

NAME has to be specified before any options, or the command bails.

Also, the help should specify how to properly quote data, because special chars can otherwise be interpreted wrong and omitted. This can be fatal for a password, after nitropy confirmed with "done".

edit: Another parsing quirk, the command:

$ nitropy nk3 secrets add-password test --login test --password test123 --metadata --protect-with-pin

will create an unintended pws entry with metadata "--protect-with-pin".

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

No branches or pull requests

1 participant