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: informational output should go to stderr #484

Open
spacefrogg opened this issue Dec 3, 2023 · 0 comments
Open

nk3 secrets: informational output should go to stderr #484

spacefrogg opened this issue Dec 3, 2023 · 0 comments

Comments

@spacefrogg
Copy link

Some informational output like the one below is printed to standard out instead of standard error.

"Credential not found. Please provide PIN below to search in the PIN-protected database."

When used together with the --password option, it impacts its usefulness in scenarios like the following, where the password shall be copied to the clipboard:

nitropy nk3 secrets get-password --password myPass | xclip

From the code I infer that this might affect other informational lines as well.

Version: 0.4.40

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