Package Details: pinentry-dmenu-inco 20.07.26.20-1

Git Clone URL: https://aur.archlinux.org/pinentry-dmenu-inco.git (read-only, click to copy)
Package Base: pinentry-dmenu-inco
Description: simple dmenu / GnuPG integration
Upstream URL: https://github.com/drincoxyz/pinentry-dmenu
Licenses: GPL
Provides: dmenu-pinentry
Submitter: Inco
Maintainer: Inco
Last Packager: Inco
Votes: 1
Popularity: 0.000000
First Submitted: 2020-07-12 19:56 (UTC)
Last Updated: 2020-07-27 00:10 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2023-07-11 15:59 (UTC)

pinentry-dmenu-inco and pinentry-dmenu need to conflict with each other. And please also check if one of them provides the other:

(3/3) checking for file conflicts                                                              [#######################################################] 100%
error: failed to commit transaction (conflicting files)
pinentry-dmenu-inco: /usr/bin/pinentry-dmenu exists in filesystem (owned by pinentry-dmenu)

Thanks for maintaining!

marrs commented on 2021-12-23 18:49 (UTC)

This didn't work for me OOTB. It would cause gpg-agent to hang until it timed out, making programmes calling it unresponsive. You can confirm if the script is broken for you by running it and then typing GETPIN. After entering a string at dmenu, you should see it echoed back to you in the shell followed by a new line. If you see the \n character instead then the script has not worked properly.

I fixed the issue with the following changes:

< *GETPIN*) echo "D `DISPLAY=:0 dmenu -P -p "gpg-agent: $KEYNAME ($KEYID)"`\nOK" ;;
---
> *GETPIN*) printf "D `DISPLAY=:0 dmenu -P -p "gpg-agent: $KEYNAME $KEYID)"`\nOK\n" ;; 

Pay attention to the \n char to the end of the string.