Skip to content

"Unable to extract public key from private key" for ed25519 #186

Closed
@LalitMaganti

Description

@LalitMaganti

If an ed25519 SSH key is created during flux bootstrap adding a ImagePolicy causes the following error to be producer by the image-automation-contoller:

{"level":"error","ts":"2021-06-15T22:29:20.579Z","logger":"controller-runtime.manager.controller.imageupdateautomation","msg":"Reconciler error","reconciler group":"image.toolkit.fluxcd.io","reconciler kind":"ImageUpdateAutomation","name":"flux-system","namespace":"flux-system","error":"unable to clone '<url>', error: Failed to authenticate SSH session: Unable to extract public key from private key."}

Deleting the flux-system secret and changing to an RSA key (by not passing any argument to flux bootstrap) appears to fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions