aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog4
-rw-r--r--doc/debugging.texi23
-rw-r--r--doc/gpg-agent.texi2
-rw-r--r--doc/gpgsm.texi6
4 files changed, 30 insertions, 5 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 4262865a5..9a9e213a3 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-05 Werner Koch <[email protected]>
+
+ * debugging.texi (Common Problems): Curses pinentry problem.
+
2004-10-22 Werner Koch <[email protected]>
* tools.texi (Helper Tools): Document gpgsm-gencert.sh.
diff --git a/doc/debugging.texi b/doc/debugging.texi
index 9406ba567..b9ae06e2b 100644
--- a/doc/debugging.texi
+++ b/doc/debugging.texi
@@ -5,7 +5,7 @@
@node Debugging
@chapter How to solve problems
-Everone knows that software often does not do what it should do and thus
+Everyone knows that software often does not do what it should do and thus
there is a need to track down problems. We call this debugging in a
reminiscent to the moth jamming a relay in a Mark II box back in 1947.
@@ -87,9 +87,24 @@ in a standard way and directly available from @command{gpgsm}.
@itemize @bullet
@item Error code @samp{Not supported} from Dirmngr
- Most likely the option @option{enable-ocsp} is active for gpgsm
- but Dirmngr's OCSP feature has not been enabled using
- @option{allow-ocsp} in @file{dirmngr.conf}.
+Most likely the option @option{enable-ocsp} is active for gpgsm
+but Dirmngr's OCSP feature has not been enabled using
+@option{allow-ocsp} in @file{dirmngr.conf}.
+
+@item The Curses based Pinentry does not work
+
+The far most common reason for this is that the environment variable
+@code{GPG_TTY} has not been set correctly. Make sure that it has been
+set to a real tty devce and not just to @samp{/dev/tty};
+i.e. @samp{GPG_TTY=tty} is plainly wrong; what you want is
+@samp{GPG_TTY=`tty`} --- note the back ticks. Also make sure that
+this environment variable gets exported, that is you should follow up
+the setting with an @samp{export GPG_TTY} (assuming a Bourne style
+shell). Even for GUI based Pinentries; you should have set
+@code{GPG_TTY}. See the section on installing the @program{gpg-agent}
+on how to do it.
+
+
@end itemize
diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi
index f361cbf6b..cccbef02a 100644
--- a/doc/gpg-agent.texi
+++ b/doc/gpg-agent.texi
@@ -43,7 +43,7 @@ fi
@end smallexample
@noindent
-You should aleays add the following lines to your @code{.bashrc} or
+You should aleways add the following lines to your @code{.bashrc} or
whatever initialization file is used for all shell invocations:
@smallexample
diff --git a/doc/gpgsm.texi b/doc/gpgsm.texi
index 94e6936ad..beedab7b7 100644
--- a/doc/gpgsm.texi
+++ b/doc/gpgsm.texi
@@ -262,6 +262,12 @@ default value is @file{/usr/sbin/dirmngr}. This is only used as a
fallback when the environment variable @code{DIRMNGR_INFO} is not set or
a running dirmngr can't be connected.
+@item --prefer-system-dirmngr
+@opindex prefer-system-dirmngr
+If a system wide @command{dirmngr} is running in daemon mode, first try
+to connect to this one. Fallback to a pipe based server if this does
+not work.
+
@item --no-secmem-warning
@opindex no-secmem-warning
Don't print a warning when the so called "secure memory" can't be used.