Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim whitespace from privateKey before parsing #289

Merged
merged 2 commits into from
Jan 29, 2022
Merged

Trim whitespace from privateKey before parsing #289

merged 2 commits into from
Jan 29, 2022

Conversation

kradalby
Copy link
Collaborator

This PR removes potential whitespace from the private key before we try to unmarshal it. It helps us deal with issues were e.g. secrets management systems add a new line.

Fixes #287

@kradalby kradalby requested a review from juanfont January 28, 2022 17:46
@kradalby kradalby merged commit 052fccd into main Jan 29, 2022
@kradalby kradalby deleted the whitespace branch March 2, 2022 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strip whitespace from private.key before parsing
2 participants