Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Request to Contribute: Signing using Managed Keys

Aperta
#928 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, node.js

Direzione di ricerca

Il codice di firma esistente è il punto di ingresso; leggi prima l’issue #427 e traccia il percorso con cui le opzioni di firma arrivano alla creazione dei JWT. Definisci un’API per i provider e gli algoritmi di chiavi gestite supportati, quindi verifica che sia possibile creare JWT tramite questi provider senza esporre una chiave privata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
JavaScript
Stelle
18.2k
Fork
1.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di auth0/node-jsonwebtoken

Tutte le issue di auth0/node-jsonwebtoken

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.