How to create a crypto key to use with JWT from a Github pem file
Hi, I'm running into some difficulties to create a CryptoKey from a pem file.
The pem key is created from this: https://docs.github.com/en/developers/apps/building-github-apps/authenticating-with-github-apps#authenticating-as-a-github-app
The key format seems to be "ASN1", the error I'm getting:
What I'm trying to execute:
This is also describing the issue: https://github.com/denoland/deno/issues/13907
Can someone help?
1 Reply
I found the answer there:
https://github.com/denoland/deno/discussions/13465#discussioncomment-2020435