Add pinentry.py and mention it in gpg-agent post.
[blog.git] / posts / gpg-agent.mdwn
index 25c4f140c2643b5fe2216effc50493a8fc073d28..cdd0d13638662afba04cc15de510e0d7214f4904 100644 (file)
@@ -19,6 +19,13 @@ The `GPG_TTY` bit will spawn the `pinentry` call in the designated
 TTY.  This avoids troublesome issues like pinentry clobbering [[Mutt]]
 if they are both using ncurses.
 
+I didn't like any of the pinentry programs available on my system, so
+I wrote my own: [[pinentry.py]].  To use my script, save it somewhere
+on your system and add a line like the following to your
+`~/.gnupg/gpg-agent.conf`.
+
+    pinentry-program /path/to/pinentry.py
+
 When you are done with the agent, kill it with
 
     $ killall gpg-agent