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
After deploying the app on Cyclic, every time when I post a comment, it fails with the following long.
2022-12-25 21:15:27.748: node:internal/crypto/sig:131
const ret = this[kHandle].sign(data, format, type, passphrase, rsaPadding,
^
Error: error:1E08010C:DECODER routines::unsupported
at Sign.sign (node:internal/crypto/sig:131:29)
at Object.sign (/var/task/node_modules/jwa/index.js:152:45)
at Object.jwsSign [as sign] (/var/task/node_modules/jws/lib/sign-stream.js:32:24)
at module.exports [as sign] (/var/task/node_modules/jsonwebtoken/sign.js:204:16)
at getSignedJsonWebToken (/var/task/node_modules/@octokit/app/dist-node/index.js:31:30)
at GitHub._authenticate (/var/task/lib/GitHub.js:58:21)
at /var/task/lib/GitHub.js:31:32
at new GitHub (/var/task/lib/GitHub.js:46:7)
at module.exports.create (/var/task/lib/GitServiceFactory.js:11:14)
at /var/task/lib/Staticman.js:32:35
at new Staticman (/var/task/lib/Staticman.js:46:7)
at module.exports (/var/task/controllers/process.js:126:27)
at Layer.handle [as handle_request] (/var/task/node_modules/express/lib/router/layer.js:95:5)
at next (/var/task/node_modules/express/lib/router/route.js:137:13)
at /var/task/server.js:169:14
at Layer.handle [as handle_request] (/var/task/node_modules/express/lib/router/layer.js:95:5)
at next (/var/task/node_modules/express/lib/router/route.js:137:13)
at /var/task/server.js:144:14
at Layer.handle [as handle_request] (/var/task/node_modules/express/lib/router/layer.js:95:5)
at next (/var/task/node_modules/express/lib/router/route.js:137:13)
at /var/task/server.js:129:14
at Layer.handle [as handle_request] (/var/task/node_modules/express/lib/router/layer.js:95:5) {
library: 'DECODER routines',
reason: 'unsupported',
code: 'ERR_OSSL_UNSUPPORTED'
}
Node.js v18.12.1
2022-12-25 21:15:27.775:
ERROR: Failed to run "npm run start". Start script defined in package.json:
"scripts": {
"start": "node index.js"
...
Exited with code: 1
I guess it has something to do with my key configurations, but I'm not entirely sure. Can somebody help me figure out the issue here?
EDIT: With some effort, I realised the problem in my RSA private key. But I'm still getting the "errorCode": "GITHUB_READING_FILE"
Hi @prateekdwv , I've been trying to deploy Staticman on Vercel to use it as my commenting system in my Hugo generated static site. I came across the same problems as you, for me what was not working was the default branch name. In most tutorials they use master but my blog repo is based on a main branch. Once I replaced that in both my staticman.yml and my config.js I could get it up and running.
After deploying the app on Cyclic, every time when I post a comment, it fails with the following long.
I guess it has something to do with my key configurations, but I'm not entirely sure. Can somebody help me figure out the issue here?
EDIT: With some effort, I realised the problem in my RSA private key. But I'm still getting the
"errorCode": "GITHUB_READING_FILE"
The text was updated successfully, but these errors were encountered: