Closed hurrtz closed 3 years ago
Hi,
Yeah, I wouldn't recommend to sudo make install
. There's probably a search path that isn't correctly for ubuntu.
But pinentry-rofi
just landed in guix
so you should just be able to guix install pinentry-rofi
to install it. Make sure you run guix pull
first to get the latest version of guix
.
To see if it works you can just run pinentry-rofi
and type in GETPIN
hit enter and rofi should pop up and ask for passphrase. Just type foo
or something and hit enter and you should see D foo
echo in the prompt. Hit Ctrl+d to exit.
As for using the tool.
You need to tell gpg
to use it, which I believe is possible with ~/.gpg/gpg-agent.conf
. I haven't tested that, instead what I do is modify the /usr/bin/pinentry
program (might be in /bin/pinentry for ubuntu)
It currently looks like:
#!/bin/sh
exec /usr/bin/pinentry-rofi "$@"
exec /usr/bin/pinentry-curses "$@"
I currently install it directly with the AUR on arch linux.
To get it to work with guix
you can change /usr/bin/pinentry
to
#!/bin/sh
exec /home/<user>/.guix-profile/bin/pinentry-rofi "$@"
#...
Where <user>
is the user you installed pinentry-rofi
with.
Then when you try to decrypt something with gpg
a rofi
prompt should pop up asking you for the passphrase.
Thank you so much for your support! You where right - pinentry-rofi
exists in guix
after I upgraded it and now it works! :+1:
Hey :)
I have a hard time grasping how to run this tool. I managed to get
guix
to run under Ubuntu and I also got around the.configure
-bug (guild
not found) by appending the guile path. Runningpinentry-rofi
from within the scripts folder issued the same crash as if Isudo make install
ed it and then running it from my path.The error message is:
From what I get from the message is that the module does not have code. Do you have any idea what might be missing?