-
Notifications
You must be signed in to change notification settings - Fork 686
Open
Description
Hi,
I'm not sure how this works for others, but for me the Octokit createAuth call fails with Invalid character error.
https://github.com/github-aws-runners/terraform-aws-github-runner/blame/a8158d4961832afb42085ef7b6075d889c198ac3/lambdas/functions/control-plane/src/github/auth.ts#L94
I think it's in the previous lines the key is decoded from base64 while the function is expecting base64 pem encoding.
https://github.com/octokit/auth-app.js/?tab=readme-ov-file#createappauthoptions-or-new-octokit-auth-
Could someone with more JS knowledge have a look at it?
Metadata
Metadata
Assignees
Labels
No labels