From 23694572efc592ac5dac945ab62b8334c76c39c9 Mon Sep 17 00:00:00 2001 From: Kevin Fox Date: Mon, 7 Apr 2025 08:09:06 -0700 Subject: [PATCH] Set reattestation flag TPMS are able to reattest the node. Set the flag so that the agent knows it can do so. Signed-off-by: Kevin Fox --- pkg/server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/server/server.go b/pkg/server/server.go index 385dc0f..67eeeaa 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -238,6 +238,7 @@ func (p *Plugin) Attest(stream nodeattestorv1.NodeAttestor_AttestServer) error { AgentAttributes: &nodeattestorv1.AgentAttributes{ SpiffeId: common.AgentID(p.config.trustDomain, hashEncoded), SelectorValues: buildSelectors(hashEncoded), + CanReattest: true, }, }, })