We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
When I run the app, I was getting:
go run cmd/app/main.go
2024/07/04 11:36:50 No RSA Certificate file found
cd _hack chmod +X rsa.sh sudo ./rsa.sh
cd _hack
chmod +X rsa.sh
sudo ./rsa.sh
go run cmd/app/main.go 2024/07/04 11:42:18 RSA Private Key File is wrong
2024/07/04 11:42:18 RSA Private Key File is wrong
Checked the error msg in code and found that here.
Then I've logged the rsaPrivKey.Type and seen that type was in fact "RSA PRIVATE KEY", instead of "PRIVATE KEY".
Not sure if that's just happening on my side, but this was how I got the app up and running. You may want to investigate this
log.Print("rsaPrivKey.Type: ", rsaPrivKey.Type) if rsaPrivKey.Type != "RSA PRIVATE KEY" { log.Fatal("RSA Private Key File is wrong") }```
The text was updated successfully, but these errors were encountered:
Hey @streamerd ,
did you check the docs ? https://github.com/iammuho/NatterNet/wiki/Getting-Started#setting-up-rsa-keys-for-jwt
best
Sorry, something went wrong.
No branches or pull requests
Hello,
When I run the app, I was getting:
go run cmd/app/main.go
2024/07/04 11:36:50 No RSA Certificate file found
cd _hack
chmod +X rsa.sh
sudo ./rsa.sh
go run cmd/app/main.go
2024/07/04 11:42:18 RSA Private Key File is wrong
Checked the error msg in code and found that here.
Then I've logged the rsaPrivKey.Type and seen that type was in fact "RSA PRIVATE KEY", instead of "PRIVATE KEY".
Not sure if that's just happening on my side, but this was how I got the app up and running. You may want to investigate this
The text was updated successfully, but these errors were encountered: