Hi Gottfried,
gfp <[email protected]> writes:
Hi,
In order to use PGP in Emacs I should add:
1.
GPG_TTY=$(tty)
export GPG_TTY
into my bashrc file
I found the file: bashrc in /etc/bashrc
but it doesn´t allow me to add that with "sudo nano
/etc/bashrc":
Do I have to log in as root in order to add that?
You want to put it in your user’s bashrc, in $HOME/.bashrc. The
file may not exist yet, so you might need to create it.
2.
According to the Emacs Info I have to install a pinentry
programme
I installed:
pinentry pinentry-emacs pinentry-tty in Guix
but later I found out that there is already pinentry installed
in my system.
Should i remove those three now?
Up to you, it won’t hurt anything. You can pick the pinentry to
use with the `pinentry-program' configuration option to gpg-agent.
-- Ian