From 4b7a8aaf7d314a6defed317edd312686d0c7c32d Mon Sep 17 00:00:00 2001 From: Xeckt Date: Fri, 21 Jun 2024 15:27:10 +0100 Subject: [PATCH] update daemon for new changes for ssh public keys --- sztp-agent/pkg/secureagent/daemon.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sztp-agent/pkg/secureagent/daemon.go b/sztp-agent/pkg/secureagent/daemon.go index 57935eaa..51fb93a9 100644 --- a/sztp-agent/pkg/secureagent/daemon.go +++ b/sztp-agent/pkg/secureagent/daemon.go @@ -111,8 +111,8 @@ func (a *Agent) doReportProgress(s ProgressType) error { Algorithm string `json:"algorithm"` KeyData string `json:"key-data"` }{ - Algorithm: key.Algorithm, - KeyData: key.KeyData, + Algorithm: key.Type, + KeyData: key.Data, }) } }