aboutsummaryrefslogtreecommitdiffstats
path: root/doc/debugging.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-11-23 17:09:51 +0000
committerWerner Koch <[email protected]>2004-11-23 17:09:51 +0000
commitc7b97075aa213a7ac54b8c56679719679816b3fa (patch)
tree04945dddc36984039b8b403f7eabbb7852cfe53c /doc/debugging.texi
parentPost release preparations (diff)
downloadgnupg-c7b97075aa213a7ac54b8c56679719679816b3fa.tar.gz
gnupg-c7b97075aa213a7ac54b8c56679719679816b3fa.zip
* b64enc.c: Include stdio.h and string.h
* gpgsm.c: New option --prefer-system-dirmngr. * call-dirmngr.c (start_dirmngr): Implement this option. * gpgconf-comp.c <dirmngr>: Add the proxy options. <gpgsm>: Add --prefer-system-daemon.
Diffstat (limited to 'doc/debugging.texi')
-rw-r--r--doc/debugging.texi23
1 files changed, 19 insertions, 4 deletions
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