Diffusion GnuPG 8fe976d5b9a0

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

Authored by ikloecker on Jan 6 2021, 12:09 PM.

Description

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

* scd/app-nks.c (do_sign): Handle plain SHA-3 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.

Details