mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-21 19:48:05 +01:00
gpg: Explain error message in key generation with --batch
* g10/keygen.c (generate_keypair): Show more info. -- GnuPG-bug-id: 3912 Signed-off-by: Werner Koch <wk@gnupg.org> (cherry picked from commit 1bfe766bcf3959135333900934f1a15c9b96c3cf)
This commit is contained in:
parent
2d700f2c6c
commit
a9931b3c05
@ -4135,8 +4135,10 @@ generate_keypair (ctrl_t ctrl, int full, const char *fname,
|
|||||||
|
|
||||||
if (opt.batch && card_serialno)
|
if (opt.batch && card_serialno)
|
||||||
{
|
{
|
||||||
/* We don't yet support unattended key generation. */
|
/* We don't yet support unattended key generation with a card
|
||||||
|
* serial number. */
|
||||||
log_error (_("can't do this in batch mode\n"));
|
log_error (_("can't do this in batch mode\n"));
|
||||||
|
print_further_info ("key generation with card serial number");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user