Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
re-save SSH public key on krd start
Browse files Browse the repository at this point in the history
  • Loading branch information
kcking committed Jan 9, 2018
1 parent 8c6e337 commit 4e8275a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions krd/enclave_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 4e8275a

Please sign in to comment.