diff options
Diffstat (limited to 'agent/command.c')
-rw-r--r-- | agent/command.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/agent/command.c b/agent/command.c index b57fa9c44..b682c55e0 100644 --- a/agent/command.c +++ b/agent/command.c @@ -1016,8 +1016,9 @@ cmd_readkey (assuan_context_t ctx, char *line) goto leave; } - /* Hack to create the shadow key for the OpenPGP standard keys. */ - if ((!strcmp (keyid, "$SIGNKEYID") || !strcmp (keyid, "$ENCRKEYID")) + /* Hack to create the shadow key for the standard keys. */ + if ((!strcmp (keyid, "$SIGNKEYID") || !strcmp (keyid, "$ENCRKEYID") + || !strcmp (keyid, "$AUTHKEYID")) && !agent_card_getattr (ctrl, keyid, &keyidbuf)) keyid = keyidbuf; |