Short-lived tokens issued by PowerShell Universal for its signed-in user (opt-in)

Aperta
#487 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

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à
Attiva
Stack tecnologico
javascript, powershell

Direzione di ricerca

Start with issue #485 to understand the proposed token format and verifier, then trace how pivotkit-server validates tokens and how the PowerShell module exposes commands. The issue leaves signing keys, rotation, audit logging, per-person limits, and the minting function open, so agree on those choices before implementation. Done means PSU can optionally mint short-lived user tokens that the server accepts without an identity provider.

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

Descrizione

area:server enhancement

PowerShell Universal already knows who its signed-in users are (when PSU authentication is configured). Optionally, PSU should be able to hand its user a short-lived pivotkit token for that person (subject, profile, expiry in minutes) that pivotkit-server accepts without an identity provider.

Builds on #485 (same token format and verifier). Open choices: an HMAC key shared with PSU, or an Ed25519 key pair where PSU holds the private key and pivotkit only the public one (preferred, so pivotkit can never mint for PSU); key rotation with two active keys; how the subject shows in the log (audit hash); per-person limits; a PowerShell function in the module that mints the token. Strictly opt-in.

Lingua principale
JavaScript
Stelle
1
Fork
1
Merge medio
3h 34m
PR unite (30g)
213

Preparare l'ambiente

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 eizedev/pivotkit

Tutte le issue di eizedev/pivotkit

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.