summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-02-19 17:19:16 +0100
committerWerner Koch <wk@gnupg.org>2009-02-19 17:19:16 +0100
commit310f45b61891d65c6e3f1950919d259b4c623e55 (patch)
treec25b4617b86f9a05e979b9364dc217bf4e5e8905
parentNew scd getinfo subcommand deny_admin (diff)
downloadgnupg2-310f45b61891d65c6e3f1950919d259b4c623e55.tar.xz
gnupg2-310f45b61891d65c6e3f1950919d259b4c623e55.zip
Fix bug 1001.
Documentation updates.
-rw-r--r--doc/faq.raw12
-rw-r--r--scd/ChangeLog1
-rw-r--r--scd/scdaemon.c2
-rw-r--r--tests/ChangeLog5
-rw-r--r--tests/Makefile.am8
-rwxr-xr-xtests/inittests2
-rw-r--r--tests/pkits/ChangeLog5
-rw-r--r--tests/pkits/Makefile.am4
-rw-r--r--tests/pkits/common.sh2
9 files changed, 32 insertions, 9 deletions
diff --git a/doc/faq.raw b/doc/faq.raw
index 9dd5fb368..640beee90 100644
--- a/doc/faq.raw
+++ b/doc/faq.raw
@@ -1326,6 +1326,18 @@ you could search in the mailing list archive.
timestamp of the self-signature is increased by one second when
running this command.
+<Q> How can I import all the missing signer keys?
+
+ If you imported a key and you want to also import all the signer's
+ keys, you can do this with this command:
+
+ gpg --check-sigs --with-colon KEYID \
+ | awk -F: '$1 == "sig" && $2 == "?" { print $5 }' \
+ | sort | uniq | xargs echo gpg --recv-keys
+
+ Note that the invocation of sort is also required to wait for the
+ of the listing before before starting the import.
+
<S> ACKNOWLEDGEMENTS
diff --git a/scd/ChangeLog b/scd/ChangeLog
index 2265a504e..267cdb760 100644
--- a/scd/ChangeLog
+++ b/scd/ChangeLog
@@ -154,7 +154,6 @@
2008-10-14 Werner Koch <wk@g10code.com>
-
* apdu.c (reader_table_s): Add fields connect_card and
disconnect_card.
(new_reader_slot): Set them to NULL.
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index 1e205dded..74dd8ff41 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -1075,7 +1075,7 @@ start_connection_thread (void *arg)
FD2INT(ctrl->thread_startup.fd));
/* If this is a pipe server, we request a shutdown if the command
- hanlder asked for it. With the next ticker event and given that
+ handler asked for it. With the next ticker event and given that
no other connections are running the shutdown will then
happen. */
if (scd_command_handler (ctrl, FD2INT(ctrl->thread_startup.fd))
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 973235f32..fb07c4c00 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-19 Werner Koch <wk@g10code.com>
+
+ * Makefile.am (TESTS_ENVIRONMENT): Use /bin/pwd.
+ * inittests: Ditto. Fixes bug#1001.
+
2008-10-20 Werner Koch <wk@g10code.com>
* asschk.c (cmd_echo): Mark unused arg.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 01013e0d8..c4693c01d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -29,9 +29,11 @@ SUBDIRS = ${openpgp} . pkits
GPGSM = ../sm/gpgsm
-
-TESTS_ENVIRONMENT = GNUPGHOME=`pwd` GPG_AGENT_INFO= LC_ALL=C GPGSM=$(GPGSM) \
- $(srcdir)/runtest
+# Note that we need to use /bin/pwd so that we don't get into trouble
+# if the shell used for inittests would uses an internal version of
+# pwd which handles symlinks differently.
+TESTS_ENVIRONMENT = GNUPGHOME=`/bin/pwd` GPG_AGENT_INFO= LC_ALL=C \
+ GPGSM=$(GPGSM) $(srcdir)/runtest
testscripts = sm-sign+verify sm-verify
diff --git a/tests/inittests b/tests/inittests
index 05a94eb68..1a51bdfc5 100755
--- a/tests/inittests
+++ b/tests/inittests
@@ -51,7 +51,7 @@ if [ "$1" = "--clean" ]; then
exit 0
fi
-if [ "$GNUPGHOME" != "`pwd`" ]; then
+if [ "$GNUPGHOME" != "`/bin/pwd`" ]; then
echo "inittests: please set GNUPGHOME to the test directory" >&2
exit 1
fi
diff --git a/tests/pkits/ChangeLog b/tests/pkits/ChangeLog
index a4f35010c..185ff98bc 100644
--- a/tests/pkits/ChangeLog
+++ b/tests/pkits/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-19 Werner Koch <wk@g10code.com>
+
+ * Makefile.am (TESTS_ENVIRONMENT): Use /bin/pwd
+ * common.sh: Ditto.
+
2008-02-19 Werner Koch <wk@g10code.com>
* inittests: Unpack test data onlyu if available.
diff --git a/tests/pkits/Makefile.am b/tests/pkits/Makefile.am
index d28ab8914..6285da43c 100644
--- a/tests/pkits/Makefile.am
+++ b/tests/pkits/Makefile.am
@@ -20,8 +20,8 @@
GPGSM = ../../sm/gpgsm
-TESTS_ENVIRONMENT = GNUPGHOME=`pwd` GPG_AGENT_INFO= LC_ALL=C GPGSM=$(GPGSM) \
- silent=yes
+TESTS_ENVIRONMENT = GNUPGHOME=`/bin/pwd` GPG_AGENT_INFO= LC_ALL=C \
+ GPGSM=$(GPGSM) silent=yes
testscripts = import-all-certs validate-all-certs \
diff --git a/tests/pkits/common.sh b/tests/pkits/common.sh
index e78456730..ca18b9501 100644
--- a/tests/pkits/common.sh
+++ b/tests/pkits/common.sh
@@ -42,7 +42,7 @@ SCRATCH="scratch.$$.tmp"
MYTIME="20080508T120000"
-if [ "$GNUPGHOME" != "`pwd`" ]; then
+if [ "$GNUPGHOME" != "`/bin/pwd`" ]; then
echo "inittests: please set GNUPGHOME to the tests/pkits directory" >&2
exit 1
fi