Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Use along KMS asymmetrical key

Open
#961 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws, javascript, node.js

Research direction

The issue names jwt.sign with RS256 and AWS KMS Sign/VerifyCommand, but no repository file or test. First determine whether a library change is requested or whether this needs usage guidance; then define the supported KMS flow and a documentation or test target before implementation.

Written by the indexing model from the issue text.

Description

I have a question regarding the use of this library. If I want to use my asymmetrical KMS key (KeySpec: RSA_2048, KeyUsage: SIGN_VERIFY), from my understand, the private key would be used to sign, while the public key would be use to verify/decode. But since the method jwt.sign with algorithm: 'RS256' requires the following a asymmetrical private key, I would have to generate or download the pem file and link it right?

But it defeat the purpose of having asymmetrical key in KMS while using a pem file. So my undertand if that it makes more sense for me to just use kms Verify/SignCommand methods instead of this library () ? Or am I mixing concepts?

Thank you!

Dominant language
JavaScript
Stars
18.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from auth0/node-jsonwebtoken

All issues in auth0/node-jsonwebtoken

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.