Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Request to Contribute: Signing using Managed Keys

オープン
#928 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, node.js

調査の方向性

既存の署名コードがエントリーポイントです。まず issue #427 を読み、署名オプションが JWT の作成にどのように到達するかを追跡してください。サポート対象のマネージドキー provider とアルゴリズム向けの API を定義し、その後、秘密鍵を公開せずにこれらの provider を通じて JWT を作成できることを検証してください。

索引モデルが issue の本文から書いたものです。

説明

Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.

Thank you in advance for helping us to improve this library! Your attention to detail here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.

By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

Popular cloud providers e.x. AWS + Google provide APIs for key signing that allow for asymetric encryption without the private key being accessible to code. It would be nice to be able to create JWTs with such APIs using this library.

Describe the ideal solution

There are different approaches to solving this but I think the right level might be to have some set of options like:

{
  alg: 'RSA256',
  pub: '...',
  sign: signFunc,
}

I read through the comments in issue https://github.com/auth0/node-jsonwebtoken/issues/427 which makes me think that it would be best to force usage of wellknown algorithms but provide a way to use third party key apis.

Alternatives and current work-arounds

Currently one would have to rebuild the entire signature code which is error prone.

Additional context

I'm happy to provide a pull request if we can agree on APIs

主要言語
JavaScript
スター
18.2k
フォーク
1.3k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

auth0/node-jsonwebtoken のほかの issue

auth0/node-jsonwebtoken の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。