Skip to content

Roer cannot read private keys that have passphrases #7

@tanelso2

Description

@tanelso2

While trying to run roer against our Spinnaker instance, I hit this error:

tls: failed to parse private key
loading x509 keypair
github.com/spinnaker/roer/spinnaker.DefaultHTTPClientFactory
	/Users/tnelson/go/src/github.com/spinnaker/roer/spinnaker/http.go:55

(Rest of stacktrace omitted for brevity's sake)

This is related to the use of tls.LoadX509KeyPair as mentioned here: golang/go#10181

roer should have an option to specify a passphrase for key files that need them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions