Code of Conduct
What article on docs.github.com is affected?
https://github.com/github/docs/blob/main/content/actions/security-guides/encrypted-secrets.md
What part(s) of the article would you like to see updated?
At the very end of that doc, a linux/bash example is shown on how to base64-decode a secret.
But trying to use that as-is on powershell utterly fails for 2 reasons (probably newlines, and default UTF-16 output).
I wrote those points up in https://stackoverflow.com/a/74344321/180258 for reference.
I would suggest at minimum to call attention to the issues, but even more: either give a specific working powershell example, or just suggest that bash should be used to decode base64 to binary under windows.
Hope will save some hours for other people too.
Thank you!
Additional information
No response
Code of Conduct
What article on docs.github.com is affected?
https://github.com/github/docs/blob/main/content/actions/security-guides/encrypted-secrets.md
What part(s) of the article would you like to see updated?
At the very end of that doc, a linux/bash example is shown on how to base64-decode a secret.
But trying to use that as-is on powershell utterly fails for 2 reasons (probably newlines, and default UTF-16 output).
I wrote those points up in https://stackoverflow.com/a/74344321/180258 for reference.
I would suggest at minimum to call attention to the issues, but even more: either give a specific working powershell example, or just suggest that bash should be used to decode base64 to binary under windows.
Hope will save some hours for other people too.
Thank you!
Additional information
No response