Verified Commit b5398c4e authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Import keystubs for PKCS#15 cards

READKEY --card with $SIGNKEYID trigger gpg-agent to create
keystubs, we do not care about errors or the return code
as we then handle this through the keycache.
parent f740c929
......@@ -524,6 +524,10 @@ static void handle_p15_card(std::shared_ptr<Card> &ci, std::shared_ptr<Context>
if (!err) {
info.insert(info.end(), fprs.begin(), fprs.end());
/* Create the key stubs */
gpgagent_statuslines(gpg_agent, "READKEY --card -- $SIGNKEYID", err);
p15Card->setManufacturer(get_manufacturer(gpg_agent, err));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment