Home GnuPG
Diffusion GnuPG eda3997b439e

agent: fix tpm2d keytotpm handling

Description

agent: fix tpm2d keytotpm handling

* agent/divert-tpm2.c (agent_write_tpm2_shadow_key): Call
agent_delete_key before agent_write_private_key.  Recover
from an error.

Details

Provenance
gniibeAuthored on Sep 28 2023, 4:59 AM
Parents
rG459bd577fc5f: agent,common,gpg: Use unsigned int for 1-bit field.
Branches
Unknown
Tags
Unknown