Home GnuPG
Diffusion GnuPG af45d884aa1c

scd:nks: Support decryption using ECDH.

Description

scd:nks: Support decryption using ECDH.

* scd/app-nks.c (struct fid_cache_s): Add field 'algo'.
(keygripstr_from_pk_file): Add arg 'r_algo' to return the algo.
(find_fid_by_keyref): Ditto.
(get_dispserialno): New.
(make_prompt): New.
(verify_pin): Provide better prompts.
(do_decipher): Support ECDH.
(parse_pwidstr): Add hack tospecify any pwid..
(do_change_pin): Support Signature Card V2.0 (NKS15) style NullPIN.
Provide a better prompt.
  • GnuPG-bug-id: T4938
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 7 2020, 8:18 AM
Parents
rGee6d29f1797e: sm: Support decryption of ECDH data using a smartcard.
Branches
Unknown
Tags
Unknown
Tasks
T4938: Support Signature Card V2.0 (NKS15)