Hello guys,
We have been experiencing strange behaviour of the Jira OAuth lately and was hoping if you could provide some help.
We have had this application where it syncs certain tasks to Jira and to achieve this we had authentication with Jira.
Lately however, we noticed that exception was being thrown every time there was an attempt to authenticate the user.
We are receiving an error:
Signature length not correct: got 128 but was expecting 256
This happens when we send a request to Jira for token.
When we were developing the app, we used this guide: https://developer.atlassian.com/server/jira/platform/oauth/
This problem is recent, and the code has not been changed on our side, that is why I am guessing something has been changed on Jira's side.
We have bumped a few dependencies, that have been outdated, but still no resolution.
Any help is greatly appreciated!
Thanks!
To anyone who faces the same problem and have been following the guide I have stated: replace the command of generating the key:
openssl genrsa -out jira_privatekey.pem 1024
with
openssl genrsa -out jira_privatekey.pem 2048
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.