Github messages for voidlinux
 help / color / mirror / Atom feed
* [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

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).