We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91d3e69 commit a5d0891Copy full SHA for a5d0891
1 file changed
pkg/identity/identity.go
@@ -269,6 +269,7 @@ func loadPrivateKey(identityDir, nodeName string, decrypt bool, agePasswordFile
269
if decrypt {
270
// Use the encrypted age file
271
if _, err := os.Stat(encryptedKeyPath); err != nil {
272
+ logger.Error("Checking for encrypted private key", err)
273
return "", fmt.Errorf("no encrypted private key found for node %s", nodeName)
274
}
275
0 commit comments