You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the latest Dockerhub image for policy-bot and cannot successfully start the container to the error Error: failed to initialize Github app client: could not parse private key: Invalid Key: Key must be PEM encoded PKCS1 or PKCS8 private key
I have attempted to use various formats for the .pem generated by Github, such as:
Putting it all on one line or removing the -----BEGIN RSA PRIVATE KEY----- and -----END RSA PRIVATE KEY----- does not work as well.
I took a look through the code to try and see what I was doing wrong, but unfortunately I have never worked with Go before and only got as far as determining that you are somewhere converting the base64 content into a byte array
The text was updated successfully, but these errors were encountered:
I am using the latest Dockerhub image for
policy-bot
and cannot successfully start the container to the errorError: failed to initialize Github app client: could not parse private key: Invalid Key: Key must be PEM encoded PKCS1 or PKCS8 private key
I have attempted to use various formats for the .pem generated by Github, such as:
Putting it all on one line or removing the
-----BEGIN RSA PRIVATE KEY-----
and-----END RSA PRIVATE KEY-----
does not work as well.I took a look through the code to try and see what I was doing wrong, but unfortunately I have never worked with Go before and only got as far as determining that you are somewhere converting the base64 content into a byte array
The text was updated successfully, but these errors were encountered: