-
Notifications
You must be signed in to change notification settings - Fork 27
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
Invalid value #45
Comments
@emtudo could you post the code that is causing the issue? |
System.get_env("STARKBANK_ORGANIZATION_PRIVATE_KEY") and System.get_env("STARKBANK_PROJECT_PRIVATE_KEY") has invalid value. When I see values, has two , and has invalid value. |
By the way, thanks for an excellent tool. Forgive me for not thanking you sooner. |
my env, example:
|
@emtudo Interesting! I'm guessing this code needs to be modified: Line 140 in d6fd3f3
Best way to fix this would be writing a failing test for this and then modifying that method to ensure the value is parsed correctly. I don't have the time, but you are welcome to give it a shot! |
Facing a similar issue brought me here, but not sure that those escaped newlines are responsibility of In fact, without event using
So It seems that in order to better support PEM values in env vars, a better option would be supporting something multi-line strings in Related: https://stackoverflow.com/questions/70022774/system-get-env-in-elixir-and-new-line-n. |
I try read private key
example:
And i received no valid valor, because valor "\n" is replace to "\\n"
The text was updated successfully, but these errors were encountered: