-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program #53870
Comments
you should not need to manually symlink any pinentry, as it is an alternative group, do these programs have an error message if a clipboard program isn't installed? |
The message is «Error: Could not copy data to the clipboard». In the version I have of pass/pass-otp, it's on line 180 of /usr/bin/pass. |
These are not bugs. Users might be using Wayland and want to use XBPS has no provision for optional dependencies or recommendations, so we are left expecting users to understand when optional functionality requires extra packages and act accordingly. |
WIthout the appropriate of xclip (or wl-copy), nothing happens when the application is used. It requires reading to source code to find out what's missing. Having to read the source code to find out which packages are missing is a feature on void, and not a bug?
På søndag 12. januar 2025 kl. 18:39, Andrew J. Hesford ***@***.***> skrev:
… These are not bugs. Users might be using Wayland and want to use wl-copy. Other users may want to use xclip. Requiring either or both would be incorrect for at least some subset of users. The same applies to pinentry, because users may prefer any of the alternatives we provide.
XBPS has no provision for optional dependencies or recommendations, so we are left expecting users to understand when optional functionality requires extra packages and act accordingly.
—
Reply to this email directly, [view it on GitHub](#53870 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AFCBYB4LKLKFROYX5CIA3VD2KKSEXAVCNFSM6AAAAABUWI2M7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBVHA2DKOJVGY).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I regularly use The lack of optional dependencies in XBPS is neither a bug nor a feature, but a limitation. The fact that we don't thrust unnecessary sets of dependencies on all users just to placate an arbitrary subset of them most definitely is a feature. You know what tools you were missing and have solved your problem. It's time to move on to more important things! |
You might want to investigate how passmenu breaks in the absence of xclip/wl-copy
På onsdag 15. januar 2025 kl. 20:05, Andrew J. Hesford ***@***.***> skrev:
… I regularly use pass, and most of the use isn't copying things to a clipboard. The application doesn't do "nothing" without a clipboard program. Furthermore, the program's use of these tools is listed right in the [manual page](https://man.voidlinux.org/pass).
The lack of optional dependencies in XBPS is neither a bug nor a feature, but a limitation. The fact that we don't thrust unnecessary sets of dependencies on all users just to placate an arbitrary subset of them most definitely is a feature.
You know what tools you were missing and have solved your problem. It's time to move on to more important things!
—
Reply to this email directly, [view it on GitHub](#53870 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AFCBYB5N7JQDCYPBR4ROMWD2K2WQNAVCNFSM6AAAAABUWI2M7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJTG4ZDSNRSGI).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Is this a new report?
Yes
System Info
Void 6.12.7_1 x86_64 GenuineIntel notuptodate rFF
Package(s) Affected
pass, pass-otp, passmenu
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No. But this thread is related. Although as you can see, he doesn't fully appreciate the issue: https://www.reddit.com/r/voidlinux/comments/nabzqd/no_password_prompts/
Expected behaviour
Actual behaviour
At present, the mentioned packages do not install all the appropriate dependencies. The functionality breaks in two ways
ln -s /usr/bin/pinentry-gtk-2 /usr/bin/pinentry
. This is the current behaviour.Steps to reproduce
FOR pass AND pass-otp DO THE FOLLOWING
By default, xclip and wl-clipboard are not installed with the packages, so to reproduce remove them to start off.
$ xbps-remove xclip wl-clipboard
$ xbps-install pass
$ pass init $GPG_KEY_ID
$ pass insert hello
In the prompt type
world
and hit enter. Then when prompted again typeworld
and hit enter.$ pass show -c hello
In the prompt enter 'world'
FOR passmenu DO THE FOLLOWING
$ /usr/bin/passmenu
It will prompt for a password
The text was updated successfully, but these errors were encountered: