-
-
Notifications
You must be signed in to change notification settings - Fork 492
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
gopass -c <entry>
fails to copy to the system clipboard
#1318
Comments
Thanks again for the report @sudoforge, I can confirm that the issue with Also I can confirm that |
Good catch! Given that this shows up when bumping the version of |
Ah, ok. This might indeed be related to the |
Fixes gopasspw#1318 Signed-off-by: Dominik Schulz <[email protected]>
Ok, that was an easy one. Actually it's not an regression in I simply missed the implicit default show action because it's defined not where all the other subcommands are set up. |
The very same issue for me, Arch Linux 5.6.8. |
@dominikschulz has submitted a patch in #1319 as you can see from the link that was added -- I will be keeping the package maintainer apprised of this patch landing in |
Fixes gopasspw#1318 RELEASE_NOTES=[BUGFIX] Fix -c and -C for default show action. Signed-off-by: Dominik Schulz <[email protected]>
Fixes #1318 RELEASE_NOTES=[BUGFIX] Fix -c and -C for default show action. Signed-off-by: Dominik Schulz <[email protected]>
The issue was solved with the version gopass-1.9.0-2, I use the one from the Arch Linux repos, haven’t compiled from the source. Now gopass shows my passwords to the stdout (as if I typed |
For me it still does not clip when i use |
@nikaro Which version of gopass are you using? What operating system are you using? |
@nikaro If you are using @BasilSkrnk Yeah, I noticed that too. It's actually printing out the entire contents of the file, as if calling |
@sudoforge i'm using |
Fixes gopasspw#1318 RELEASE_NOTES=[BUGFIX] Fix -c and -C for default show action. Signed-off-by: Dominik Schulz <[email protected]>
Summary
Since commit af62f1b, the standard
gopass -c <entry>
invocation has failed to copy to the system clipboard:Steps To Reproduce
Create the following file in
/tmp
(replace<ENTRY>
with the path of a valid entry in your root password store):Clone the repository, and run:
49a3bad9d7ec68d8616e269876f72f09f24dfb83
is a known good commit that supports go modules; feel free to adjust this as desired.You can also test this manually if you'd prefer:
Expected behavior
The first line of the entry should be copied to the system clipboard.
Environment
go build
gopass version
output:Additional context
This is a regression, as the tree tagged at
v1.8.6
works as expected -- this is the last version ofgopass
that I had installed prior tov1.9.0
, which is the first release that includes this regression.Note that
--clip
works as expected.Originally reported at #1317 (comment)
The text was updated successfully, but these errors were encountered: