Home GnuPG
Diffusion GnuPG 8bccd95b38f2

scd:nks: Add support for signing plain SHA-2 digests.

Description

scd:nks: Add support for signing plain SHA-2 digests.

* scd/app-nks.c (do_sign): Handle plain SHA-2 digests and verify
encoding of ASN.1 encoded hashes.

This makes it possible to create CSRs for NetKey card keys which are
signed with SHA256 by default.

(cherry picked from commit 8fe976d5b9a0f2902868737dd502c749565222a6)

Details

Provenance
ikloeckerAuthored on Jan 6 2021, 12:09 PM
wernerCommitted on Oct 20 2022, 12:22 PM
Parents
rG3c1acb7b9fa4: scd:nks: Support READKEY with keygrip and for "NKS-IDLM" keyref.
Branches
Unknown
Tags
Unknown
Tasks
T5184: scd: Generating CSR for NetKey card key fails