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 key file #92

Open
jared2501 opened this issue Aug 4, 2018 · 0 comments
Open

Trim key file #92

jared2501 opened this issue Aug 4, 2018 · 0 comments

Comments

@jared2501
Copy link

If the encrypted-config-value.key file has a new line at the end of it the decryption fails with the confusing error about being unable to base64 decode. Vim is sometimes configured to insert new lines at the ends of files, which leads to hard to debug issues.

Proposed solution: since the second component of the string is base64 encoded it's able to be trimmed before being decoded.

@jared2501 jared2501 mentioned this issue Aug 4, 2018
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 a pull request may close this issue.

1 participant