mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-07 23:27:48 +02: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 1bfe766bcf
)
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)
|
||||
{
|
||||
/* 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"));
|
||||
print_further_info ("key generation with card serial number");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user