Smartcard card-edit generate fails when off-card backup of encryption key is selected
Closed, ResolvedPublic

Description

I've marked this as a bug because the option is offered and It's a regression
from 2.0.x / 1.x

From g10/keygen.c line 4588 (gen_card_key_with_backup):

#if ENABLE_CARD_SUPPORT && 0

/* FIXME: Move this to gpg-agent.  */

Details

Version
2.1
aheinecke set Version to 2.1.Dec 7 2015, 6:02 PM
aheinecke added subscribers: werner, aheinecke.
gniibe claimed this task.Dec 17 2015, 1:13 PM
gniibe added a subscriber: gniibe.

I'm considering fixing this.

Also fixed the bkuptocard subcommand in: 40959add1ba0efc1f4aa87fa075fa42423eff73c

I removed the not-working checkbkupkey subcommand in
44aee35e69540510617aea4b886ef845590960fe

I've tested to generate an rsa2048 key with backup on a v2.0 card and it works
now. I have not tested restoring from backup etc. But as this report was about
the failed generation, this issue is resolved imo.

Thanks!

aheinecke closed this task as Resolved.Jan 5 2016, 10:55 AM
aheinecke removed a project: Testing.