Github messages for voidlinux
 help / color / mirror / Atom feed
From: computative <computative@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] Regarding packages pass, pass-otp, passmenu. Clipboard terminal program required. Passmenu requires GUI pinentry-program
Date: Mon, 06 Jan 2025 21:03:04 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-53870@inbox.vuxu.org> (raw)

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

             reply	other threads:[~2025-01-06 20:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-06 20:03 computative [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-53870@inbox.vuxu.org \
    --to=computative@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).