aboutsummaryrefslogtreecommitdiffstats
path: root/sm/decrypt.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-07-02 16:35:34 +0000
committerWerner Koch <[email protected]>2020-07-02 16:35:34 +0000
commitc1663c690b29d2dea8bc782c42de5eca08a24cc9 (patch)
treeef996e1abcc70e2c4deea51f47b38a4bf9f4e718 /sm/decrypt.c
parentdirmngr: Silence annoying warning for missing default ldap server file. (diff)
downloadgnupg-c1663c690b29d2dea8bc782c42de5eca08a24cc9.tar.gz
gnupg-c1663c690b29d2dea8bc782c42de5eca08a24cc9.zip
scd:nks: Implement writecert for the Signature card v2.
* scd/iso7816.c (CMD_UPDATE_BINARY): New. (iso7816_update_binary): New. * scd/app-nks.c (do_deinit): Factor some code out to... (flush_fid_cache): new. (do_writecert): New. (app_select_nks): Register new handler. -- This can be used with gpg-card to write the 3 extra certificates of a Telesec TCOS Signature Card v2. The card with the qualified signature is distributed with the keys for encryption and advanced signatures but without the certificates. The certificates can be downloaded from the website after an mail confirmation. Unpacked the downloaded zipfile has these certificates: auth_zert.crt sig_zert.crt enc_zert.crt Using gpg-card issue these commands: writecert NKS-NKS3.4531 <sig_zert.crt writecert NKS-NKS3.45B1 <enc_zert.crt writecert NKS-NKS3.4571 <auth_zert.crt Don't mix that up, tight now there is no checking that the certificates match the public key. I also need to write another patch to actually implement signing and encryption with these nistp256 certificates. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'sm/decrypt.c')
0 files changed, 0 insertions, 0 deletions