GnuPG 2.1 does not support keeping private keys on host PC when keytocard.
https://lists.gnupg.org/pipermail/gnupg-devel/2015-February/029498.html
GnuPG 2.1 does not support keeping private keys on host PC when keytocard.
https://lists.gnupg.org/pipermail/gnupg-devel/2015-February/029498.html
It is fixed by the commit: f82c4a6d0d76e716b6a7b22ca964fa2da1f962a0
This is not a perfect solution (it updates key storage by "learn --force" command
of gpg-agent), but it works fine usually.