aboutsummaryrefslogtreecommitdiffstats
path: root/common/openpgp-oid.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-02-03 13:54:23 +0000
committerWerner Koch <[email protected]>2020-02-03 13:54:23 +0000
commit2e5ab34496fe7e1b9bd2194ab59a58cf44ca9d1e (patch)
tree85b95fb2217cac5ca16afe0f4c43e3baa4b56db3 /common/openpgp-oid.c
parentcard: Add new OpenPGP card vendor. (diff)
downloadgnupg-2e5ab34496fe7e1b9bd2194ab59a58cf44ca9d1e.tar.gz
gnupg-2e5ab34496fe7e1b9bd2194ab59a58cf44ca9d1e.zip
sm: New option --issuer-der for the listkey commands.
* sm/server.c (do_listkeys): Implement new option. -- This option can be used by clients who can only provide a DER encoded form of the issuer. For example in PKCS#11 providers. Testing: Put the DER encoded issuer DN into a file, say issuer.der. The run gpg-connect-agent -E -- gpgsm --server > /definqfile ISSUER_DER issuer.der > list-keys --issuer-der 01020304 and if the local keyring has a certifictate with that issuer and a s/n of 0x01020304 that certificate will be listed. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/openpgp-oid.c')
0 files changed, 0 insertions, 0 deletions