You are not logged in.
Hey all,
I just setup package signing for the packages I built myself and I was wondering if there is an alternative (read: CLI) to the window that pops up and asks for your password? It's only a small annoyance, but the window isn't themed properly. Perhaps it's GTK3, which my theme doesn't support yet and I don't feel like porting it just for this tiny annoyance.
Is there any possible way I can be asked for my password from the same terminal that's currently running makepkg?
Last edited by Unia (2012-07-01 10:09:50)
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
man gpg-agenthas the pinetry-program option. As I recall, an update or two ago the current terminal option was changed/removed. Now I use pinentry-curses.
Offline
True, it is not themed properly, but it is the only way I could get gpg-agent work.
I tried to uncomment different pineentries in ~/.gnupg/gpg-agent.conf, but pinentry-qt4 for example displayed for about 1 second and closed leaving the package unsigned (did not try kwallet though)
aya@pc ~]$ cat .gnupg/gpg-agent.conf
# Cache settings
default-cache-ttl 10800
default-cache-ttl-ssh 108
# Environment file
write-env-file /home/aya/.gpg-agent-info
# Keyboard control
no-grab
# PIN entry program
#pinentry-program /usr/bin/pinentry-kwallet
#pinentry-program /usr/bin/pinentry-qt4
#pinentry-program /usr/bin/pinentry-cursesYou may want to try to uncomment pinentry-curses for the CLI prompt.
# edit: added code tags - you can re-edit the post to see how it is done...
Last edited by jasonwryan (2012-07-01 04:10:07)
Offline
Thanks. I didn't have a gpg-agent.conf file so I made one and added the following:
# PIN entry program
pinentry-program /usr/bin/pinentry-cursesNow it works properly
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline