aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/command.c')
-rw-r--r--agent/command.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/agent/command.c b/agent/command.c
index 8384560cd..87446a233 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -1314,6 +1314,11 @@ do_one_keyinfo (ctrl_t ctrl, const unsigned char *grip, assuan_context_t ctx,
if (err)
goto leave;
}
+ else if (strcmp (shadow_info_type, "tpm2-v1") == 0)
+ {
+ serialno = xstrdup("TPM-Protected");
+ idstr = NULL;
+ }
else
{
log_error ("unrecognised shadow key type %s\n", shadow_info_type);