mirror of
git://git.gnupg.org/gnupg.git
synced 2025-06-14 18:31:03 +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>
This commit is contained in:
parent
420dc2b49a
commit
1bfe766bcf
@ -4238,8 +4238,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