g10: notify a user when importing stub is skipped.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 2 Nov 2015 05:33:38 +0000 (14:33 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 2 Nov 2015 05:33:38 +0000 (14:33 +0900)
commit06f3eadb22986d9ebde9efff2794eb1d45d6c6d4
tree156e6b986412c8bc3a931db6f9772fe43b46ba15
parent18cd09246f5dcddcafb8662afd84fa046e36de3f
g10: notify a user when importing stub is skipped.

* g10/import.c (transfer_secret_keys): Return GPG_ERR_NOT_PROCESSED
when stub_key_skipped.
(import_secret_one): Notify a user, suggesting --card-status.

--

Migration to 2.1 might be confusing with smartcard.  With this patch,
a user can learn to run gpg ---card-status.

Thanks to intrigeri for the report.

Debian-bug-id: 795881
g10/import.c