[PATCH] scd: fix keytocard
gniibe at fsij.org
Fri Apr 3 11:06:25 CEST 2015
On 04/01/2015 04:57 PM, NIIBE Yutaka wrote:
> This patch is fix for the issue:
> The Patch consists of three parts.
> (1) agent: Don't update key storage at the time of KEYTOCARD
> (2) agent: Enhance LEARN command to have --force option to update key storage
> (3) g10: Fix keyedit to call LEARN --force
> This fix is not a perfect solution as there is a possibility (in
> theory) that user would remove the smartcard after "keytocard" before
> "quit", but I think that it's good enough in practice.
I updated the patch to really does (2), and commit/push-ed to master
after some tests with Gnuk Token.
For 2.1, this --force option of learn command can be used for the issie
More information about the Gnupg-devel