Skip to content
New issue

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

Update OAuth to support RSA-SHA1 #36

Open
jacobweber opened this issue Mar 30, 2017 · 1 comment
Open

Update OAuth to support RSA-SHA1 #36

jacobweber opened this issue Mar 30, 2017 · 1 comment

Comments

@jacobweber
Copy link

jacobweber commented Mar 30, 2017

As far as I can tell, JIRA doesn't support HMAC-SHA1 for the OAuth signature method; it only supports RSA-SHA1. At least this is the case for some versions.

The included jira library doesn't support RSA-SHA1. Maybe it can be replaced with this one?

I was only able to get OAuth working using the latter library, although I had to change the API calls slightly.

I also was able to get it working by changing package.json to use this fork:

"jira": "ccannell/node-jira"

which has this fix. Then I added:

"signature_method": "RSA-SHA1"

to the oauth config.

@gsingers
Copy link
Owner

gsingers commented Jun 5, 2017

Can you put up a PR, @jacobweber ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants