Page MenuHome GnuPG

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

Event Timeline

gniibe added a subscriber: gniibe.

I'm considering fixing this.

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 removed a project: Restricted Project.