* [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
@ 2025-01-06 20:03 computative
2025-01-06 20:20 ` classabbyamp
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: computative @ 2025-01-06 20:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2501 bytes --]
New issue by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870
Description:
### 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
1. The mentioned three packages should have the ability to copy passwords to clipboard
2. One of the programs, 'passmenu' should prompt the user for a password in a pop-up window.
### Actual behaviour
At present, the mentioned packages do not install all the appropriate dependencies. The functionality breaks in two ways
1. All 3 mentioned packages (pass. pass-otp, passmenu) require 'xclip' on x, and the command 'wl-copy' on wayland (i believe wl-copy is in the 'wl-clipboard' package). If not installed, the 'copy' functionality of the programs doesn't work. Especially passmenu is rendered completely broken. This is the current behaviour.
2. If 'passmenu' doesn't show a gui prompt, it fails completely. For this, one of the GUI pinentry-programs, for example 'pinentry-gtk', should be installed and a soft link must be made to /usr/bin/pinentry say by `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 type `world` and hit enter.
$ pass show -c hello
In the prompt enter 'world'
- FAIL: This should fail to copy the password to the clipboard if xclip (or the wayland equivalent) are not installed. I believe you will see an error in the terminal as well.
**FOR passmenu DO THE FOLLOWING**
$ /usr/bin/passmenu
It will prompt for a password
- FAIL1: If the user does not receive a password prompt at this point because a suitable pinentry-program /usr/bin/pinentry-gtk-2 isn't installed and linked, the program stops.
- FAIL2: If pass or pass-otp are broken as described above, no password is copied to the clipboard.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
@ 2025-01-06 20:20 ` classabbyamp
2025-01-07 8:08 ` computative
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: classabbyamp @ 2025-01-06 20:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2573855112
Comment:
you should *not* need to manually symlink any pinentry, as it is an alternative group, `xbps-alternatives -s pinentry-gtk` if you want the gtk2 one, or another if you want a different one
do these programs have an error message if a clipboard program isn't installed?
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
2025-01-06 20:20 ` classabbyamp
@ 2025-01-07 8:08 ` computative
2025-01-07 8:09 ` computative
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: computative @ 2025-01-07 8:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 219 bytes --]
New comment by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2574630694
Comment:
The message is verbatim «Error: Could not copy data to the clipboard»
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
2025-01-06 20:20 ` classabbyamp
2025-01-07 8:08 ` computative
@ 2025-01-07 8:09 ` computative
2025-01-07 8:10 ` computative
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: computative @ 2025-01-07 8:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 210 bytes --]
New comment by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2574630694
Comment:
The message is «Error: Could not copy data to the clipboard»
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
` (2 preceding siblings ...)
2025-01-07 8:09 ` computative
@ 2025-01-07 8:10 ` computative
2025-01-07 8:10 ` computative
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: computative @ 2025-01-07 8:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
New comment by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2574630694
Comment:
The message is «Error: Could not copy data to the clipboard». In the version I have on pass, it's on line 180 of /usr/bin/pass
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
` (3 preceding siblings ...)
2025-01-07 8:10 ` computative
@ 2025-01-07 8:10 ` computative
2025-01-07 8:10 ` computative
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: computative @ 2025-01-07 8:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
New comment by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2574630694
Comment:
The message is «Error: Could not copy data to the clipboard». In the version I have of pass, it's on line 180 of /usr/bin/pass
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
` (4 preceding siblings ...)
2025-01-07 8:10 ` computative
@ 2025-01-07 8:10 ` computative
2025-01-07 8:12 ` computative
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: computative @ 2025-01-07 8:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 285 bytes --]
New comment by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2574630694
Comment:
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
` (5 preceding siblings ...)
2025-01-07 8:10 ` computative
@ 2025-01-07 8:12 ` computative
2025-01-07 8:19 ` computative
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: computative @ 2025-01-07 8:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
New comment by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2574630694
Comment:
For pass/pass-otp: 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.
For passmenu: It doesn't have an an interface for displaying error messages, so it just fails without a word
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
` (6 preceding siblings ...)
2025-01-07 8:12 ` computative
@ 2025-01-07 8:19 ` computative
2025-01-07 8:19 ` computative
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: computative @ 2025-01-07 8:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
New comment by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2574630694
Comment:
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.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
` (7 preceding siblings ...)
2025-01-07 8:19 ` computative
@ 2025-01-07 8:19 ` computative
2025-01-12 17:39 ` [ISSUE] [CLOSED] " ahesford
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: computative @ 2025-01-07 8:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 286 bytes --]
New comment by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2574630694
Comment:
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.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [ISSUE] [CLOSED] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
` (8 preceding siblings ...)
2025-01-07 8:19 ` computative
@ 2025-01-12 17:39 ` ahesford
2025-01-12 17:39 ` ahesford
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ahesford @ 2025-01-12 17:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2504 bytes --]
Closed issue by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870
Description:
### 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
1. The mentioned three packages should have the ability to copy passwords to clipboard
2. One of the programs, 'passmenu' should prompt the user for a password in a pop-up window.
### Actual behaviour
At present, the mentioned packages do not install all the appropriate dependencies. The functionality breaks in two ways
1. All 3 mentioned packages (pass. pass-otp, passmenu) require 'xclip' on x, and the command 'wl-copy' on wayland (i believe wl-copy is in the 'wl-clipboard' package). If not installed, the 'copy' functionality of the programs doesn't work. Especially passmenu is rendered completely broken. This is the current behaviour.
2. If 'passmenu' doesn't show a gui prompt, it fails completely. For this, one of the GUI pinentry-programs, for example 'pinentry-gtk', should be installed and a soft link must be made to /usr/bin/pinentry say by `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 type `world` and hit enter.
$ pass show -c hello
In the prompt enter 'world'
- FAIL: This should fail to copy the password to the clipboard if xclip (or the wayland equivalent) are not installed. I believe you will see an error in the terminal as well.
**FOR passmenu DO THE FOLLOWING**
$ /usr/bin/passmenu
It will prompt for a password
- FAIL1: If the user does not receive a password prompt at this point because a suitable pinentry-program /usr/bin/pinentry-gtk-2 isn't installed and linked, the program stops.
- FAIL2: If pass or pass-otp are broken as described above, no password is copied to the clipboard.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
` (9 preceding siblings ...)
2025-01-12 17:39 ` [ISSUE] [CLOSED] " ahesford
@ 2025-01-12 17:39 ` ahesford
2025-01-15 18:10 ` computative
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ahesford @ 2025-01-12 17:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 616 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2585845956
Comment:
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.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
` (10 preceding siblings ...)
2025-01-12 17:39 ` ahesford
@ 2025-01-15 18:10 ` computative
2025-01-15 19:05 ` ahesford
2025-01-15 23:46 ` computative
13 siblings, 0 replies; 15+ messages in thread
From: computative @ 2025-01-15 18:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1361 bytes --]
New comment by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2593628942
Comment:
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](https://github.com/void-linux/void-packages/issues/53870#issuecomment-2585845956), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AFCBYB4LKLKFROYX5CIA3VD2KKSEXAVCNFSM6AAAAABUWI2M7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBVHA2DKOJVGY).
> You are receiving this because you authored the thread.Message ID: ***@***.***>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
` (11 preceding siblings ...)
2025-01-15 18:10 ` computative
@ 2025-01-15 19:05 ` ahesford
2025-01-15 23:46 ` computative
13 siblings, 0 replies; 15+ messages in thread
From: ahesford @ 2025-01-15 19:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 773 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2593729622
Comment:
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!
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
` (12 preceding siblings ...)
2025-01-15 19:05 ` ahesford
@ 2025-01-15 23:46 ` computative
13 siblings, 0 replies; 15+ messages in thread
From: computative @ 2025-01-15 23:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]
New comment by computative on void-packages repository
https://github.com/void-linux/void-packages/issues/53870#issuecomment-2594161828
Comment:
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](https://github.com/void-linux/void-packages/issues/53870#issuecomment-2593729622), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AFCBYB5N7JQDCYPBR4ROMWD2K2WQNAVCNFSM6AAAAABUWI2M7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJTG4ZDSNRSGI).
> You are receiving this because you authored the thread.Message ID: ***@***.***>
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2025-01-15 23:46 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-06 20:03 [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program computative
2025-01-06 20:20 ` classabbyamp
2025-01-07 8:08 ` computative
2025-01-07 8:09 ` computative
2025-01-07 8:10 ` computative
2025-01-07 8:10 ` computative
2025-01-07 8:10 ` computative
2025-01-07 8:12 ` computative
2025-01-07 8:19 ` computative
2025-01-07 8:19 ` computative
2025-01-12 17:39 ` [ISSUE] [CLOSED] " ahesford
2025-01-12 17:39 ` ahesford
2025-01-15 18:10 ` computative
2025-01-15 19:05 ` ahesford
2025-01-15 23:46 ` computative
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).