summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2003-09-02 21:06:34 +0200
committerWerner Koch <wk@gnupg.org>2003-09-02 21:06:34 +0200
commit936250aac9d87f464e8e4c5958d54e9ac405c878 (patch)
tree6ab4aa6a1eadbbd486327530236635d9f0563525 /g10
parent2003-08-26 Timo Schulz <twoaday@freakmail.de> (diff)
downloadgnupg2-936250aac9d87f464e8e4c5958d54e9ac405c878.tar.xz
gnupg2-936250aac9d87f464e8e4c5958d54e9ac405c878.zip
* configure.ac (HAVE_LIBUSB): Added a simple test for libusb.
* scdaemon.c, scdaemon.h: New option --pcsc-ccid. * ccid-driver.c, ccid-driver.h: New but far from being useful. * Makefile.am: Add above. * apdu.c: Add support for that ccid driver.
Diffstat (limited to 'g10')
-rw-r--r--g10/ChangeLog4
-rw-r--r--g10/keygen.c9
2 files changed, 13 insertions, 0 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 8eca012af..274637283 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -3,6 +3,10 @@
* pkglue.c (mpi_from_sexp): New. Used to factor out
some common code.
+2003-08-24 Werner Koch <wk@gnupg.org>
+
+ * keygen.c (do_generate_keypair): Print a reminder to use --gen-revoke.
+
2003-08-18 Timo Schulz <twoaday@freakmail.de>
* encode.c (encode_sesskey): Checked the code and removed
diff --git a/g10/keygen.c b/g10/keygen.c
index 210bbc897..1840a58c7 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -2655,6 +2655,15 @@ do_generate_keypair (struct para_data_s *para,
"the command \"--edit-key\" to generate a "
"secondary key for this purpose.\n"));
}
+
+ if (!opt.batch && card)
+ {
+ tty_printf(_(
+"Please create a revocation certificate now, so that you are able\n"
+"to revoke the key if it ever happens that you lose your card or\n"
+"the card gets damaged. Use the command \"--gen-revoke\".\n"
+ ));
+ }
}
}