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

Copy to clipboard if there is no safecontent #684

Closed
AuspeXeu opened this issue Mar 1, 2018 · 1 comment
Closed

Copy to clipboard if there is no safecontent #684

AuspeXeu opened this issue Mar 1, 2018 · 1 comment
Labels
feature Enhancements and new features

Comments

@AuspeXeu
Copy link

AuspeXeu commented Mar 1, 2018

I just found the option safecontent to not display passwords which is quite handy when working in an office where people can see my screen. What I find a bit inconvenient though is that if there is no safe content, I get prompted with a warning. I think it would be nice to copy the password to the clipboard as the user's intention obviously is to use his password in that case.

@AnomalRoil
Copy link
Member

This is a neat idea, I'll add it later today.

@dominikschulz dominikschulz added the feature Enhancements and new features label Mar 6, 2018
dominikschulz pushed a commit that referenced this issue Mar 8, 2018
* Addressing #684

Adapting the integration tests accordingly.
Also adding an integration test to avoid conflict between safecontent and -c in
the show action.

* Adding real unit tests

* Removing all direct color uses

Since we have a package out to handle the output and the formatting and
coloring, there is no reason to directly use the color package.
kpitt pushed a commit to kpitt/gopass that referenced this issue Jul 21, 2022
* Addressing gopasspw#684

Adapting the integration tests accordingly.
Also adding an integration test to avoid conflict between safecontent and -c in
the show action.

* Adding real unit tests

* Removing all direct color uses

Since we have a package out to handle the output and the formatting and
coloring, there is no reason to directly use the color package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Enhancements and new features
Projects
None yet
Development

No branches or pull requests

3 participants