aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
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 <[email protected]>
+
+ * keygen.c (do_generate_keypair): Print a reminder to use --gen-revoke.
+
2003-08-18 Timo Schulz <[email protected]>
* 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"
+ ));
+ }
}
}