Home GnuPG
Diffusion GnuPG f82c4a6d0d76

g10: Fix keytocard.
f82c4a6d0d76Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

g10: Fix keytocard.

g10/call-agent.h (agent_scd_learn): Add FORCE option.
g10/call-agent.c (agent_scd_learn): Implement FORCE option.
g10/keygen.c (gen_card_key): Follow the change of option.
g10/card-util.c (change_pin, card_status, factory_reset): Likewise.
g10/keyedit.c (keyedit_menu): Update private key storage by

agent_scd_learn.

This is not a perfect solution since there is a possibility user
unplug card before quitting 'gpg --keyedit' session. Usually,
it works well.

Details

Provenance
gniibeAuthored on Apr 3 2015, 10:39 AM
Parents
rG4ffadb74b3ad: agent: Add --force option for LEARN.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGf82c4a6d0d76: g10: Fix keytocard. (authored by NIIBE Yutaka <gniibe@fsij.org>).Apr 3 2015, 10:39 AM
gniibe mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:06 PM
gniibe mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:29 PM