From 4e8275af3eaab3781fdc6eec147351d18a045e91 Mon Sep 17 00:00:00 2001 From: Kevin King <4kevinking@gmail.com> Date: Tue, 9 Jan 2018 15:17:55 -0500 Subject: [PATCH] re-save SSH public key on krd start --- krd/enclave_client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/krd/enclave_client.go b/krd/enclave_client.go index 79c80794..7285892f 100644 --- a/krd/enclave_client.go +++ b/krd/enclave_client.go @@ -236,6 +236,7 @@ func (ec *EnclaveClient) Start() (err error) { if loadedMe, loadMeErr := ec.Persister.LoadMe(); loadMeErr == nil { ec.cachedMe = &loadedMe + ec.Persister.SaveMySSHPubKey(*ec.cachedMe) } else { ec.log.Notice("me not loaded:", loadErr) }