You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched for the string "not an encrypted key" in the project and found that there is a problem with the logic of checking ssh privatekey,the privatekey generated by ssh-keygen must not have a header Proc-Type.
It is not always so easy as described in the other answers. It works only with the old PEM keys. New openssh format of the keys (generated with -o option, more secure, since openssh-6.5) looks the same if you check the headers:
The image-automation controller version v0.21.0 upgrades out libgit2 implementation to version 1.3.0 which should resolve this issue.
This will require a redeploy of all components so I would recommend doing so via flux bootstrap using the flux cli version v0.28.0 which will be released tomorrow.
Can you test it again with the version above and let us know how you get on please?
Uh oh!
There was an error while loading. Please reload this page.
flux bootstrap git
flux check
Error logs
ImageUpdateAutomation yaml
Possible reason
I searched for the string "not an encrypted key" in the project and found that there is a problem with the logic of checking ssh privatekey,the privatekey generated by ssh-keygen must not have a header
Proc-Type
.{"Type":"PRIVATE KEY","Headers":{},"Bytes":"MC4CAQAwBQYDK2VwBCIEIDoJ9G/UwI5GZU+DYKN1eBoVAAd44R9GdhGI164dL9T3"}
GOPATH/pkg/mod/golang.org/x/[email protected]/ssh/keys.go:1150
The text was updated successfully, but these errors were encountered: