Home GnuPG
Diffusion GnuPG b92b3206e72b

scd:nks: Some code cleanup.

Description

scd:nks: Some code cleanup.

* scd/app-nks.c (find_fid_by_keyref): Factor keyref parsing out to ...
(parse_keyref): new.
(do_readcert): Use new function instead of partly duplicated code.
Make detection of keygrip more robust.
(do_readkey): Make detection of keygrip more robust.
(do_with_keygrip): Use get_nks_tag.

Also added a couple of comments.

Details

Provenance
wernerAuthored on Jun 1 2022, 5:52 PM
Parents
rG07eaf006c276: scd:nks: Support the Telesec ESIGN application.
Branches
Unknown
Tags
Unknown