Differences between version 3 and previous revision of GpgAgentNotes.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Friday, July 27, 2007 12:38:34 am | by ChrisOh | Revert |
Older page: | version 2 | Last edited on Friday, July 27, 2007 12:28:08 am | by ChrisOh | Revert |
@@ -36,36 +36,37 @@
<tt>GPG_TTY=`tty`</tt> in your .bashrc will fix this for you.
----
-!!Experience getting gpg going with KMail
+!!Experience getting gpg going with KMail on Kubuntu 7.04
-<tt>apt-get install gnupg-agent pinentry-qt kgpg </tt>
+<tt>apt-get install gnupg-agent pinentry-qt kgpg gnupg2
</tt>
-pinentry is a program to securely accept your passphrase. There are GTK and
QT versions available
for X
users.
+pinentry is a program to securely accept your passphrase. The
QT version pinentry-qt is suitable
for KDE
users.
To start the GPG agent, run <tt>eval `gpg-agent --daemon --write-env-file`</tt> (Keep this in ~/.bashrc or ~/.xsession).
-This write a file ~.gpg-agent-info which in turn
the environment variable GPG-
AGENT-
INFO gets
its info
from.
+This write a file ~.gpg-agent-info and prevents
the additional gpg-agents starting (I think?) The
environment variable GPG_
AGENT_
INFO get
its value
from here and this is where KMail figures which agent to use
.
You configure the agent in ~/.gnupg/gpg-agent.conf. A sample:
<pre>
default-cache-ttl 3600
pinentry-program /usr/bin/pinentry-qt
</pre>
Configure ~/.gnupg/gpg.conf to use the gpg-agent you've just got going.
-uncomment
the option <tt>use-agent</tt>
+Uncomment
the option <tt>use-agent</tt>
-If the file does not exist you can use Kgpg to create the file for you. However it only include one keyserver. You can add the others to this file.
+If the file does not exist you can use Kgpg to create the file for you. However the file
it only include one keyserver. You can add the others to this file.
Configure ~/.bashrc to include
-<tt>GPG_TTY=`tty`</tt> and <tt>export GPG_TTY</tt>
+<tt>GPG_TTY=`tty`</tt> and
+
<tt>export GPG_TTY</tt>
-----
Find other pages like me in CategoryNotes