mirror of https://github.com/fluxcd/flux2.git
Switch to `crypto/ssh` for parsing of private keys
This changes the logic for the parsing of private keys, as already done for the source-controller, so that it is able to recognize and work with a wider range of key formats instead of returning a vague error: ```console $ flux bootstrap git [..] ✗ ssh: this private key is passphrase protected ``` A patch for this was already submitted and merged in `go-git/go-git`, but is not made available in a release yet: https://github.com/go-git/go-git/pull/298 Signed-off-by: Hidde Beydals <hello@hidde.co>pull/1404/head
parent
12ea028aa9
commit
fbe7050cb8
Loading…
Reference in New Issue