-
Notifications
You must be signed in to change notification settings - Fork 64.3k
Closed
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamhelp wantedAnyone is welcome to open a pull request to fix this issueAnyone is welcome to open a pull request to fix this issue
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's 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
Metadata
Metadata
Assignees
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamhelp wantedAnyone is welcome to open a pull request to fix this issueAnyone is welcome to open a pull request to fix this issue