-
Notifications
You must be signed in to change notification settings - Fork 99
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
Question about newlines #61
Comments
Added info about my environment locally:
|
^ on most operating systems, this actually does include a newline. Usually you need to pass the |
You're right, When I try to reproduce with
berglas is exiting here with exit-code 61. (Note, I'm using the 0.2.0 version, not the master build) |
Ok, tested some more, and indeed, the secret is stored including the newline. Silly me :/ |
Hi,
I run into an issue when using berglas locally with
berglas exec --local
. It seems a newline character is added to the decrypted environment variable, which isn't a part of the originally encrypted secret.Here is a detailed walkthrough of my testing with this, and a reproduction path:
As you can see, in the berglas exec environment, a newline at the end of the secret is suddenly added.
The text was updated successfully, but these errors were encountered: