Remove "L2tpPsk" from the history

Aperta
#4,077 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
csharp, powershell
Ambito
cli, security

Direzione di ricerca

Open History.cs at the referenced list near line 117 and review how sensitive command parameters are filtered from history. Add L2tpPsk to that list, then verify that Add-VpnConnection and Set-VpnConnection commands using a clear-text -L2tpPsk value are excluded from history.

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

Descrizione

Issue-Enhancement Needs-Triage :mag:
Prerequisites
  • Write a descriptive title.
Description of the new feature/enhancement

Cmdlets Add-VpnConnection, Set-VpnConnection have a parameter -L2tpPsk that contains a secret key shared between the server and the client. I suppose this is a sensitive information and its worth to filter out commands that have this parameter with a clear-text value.

Proposed technical implementation details (optional)

Add "L2tpPsk" into the list https://github.com/PowerShell/PSReadLine/blob/master/PSReadLine/History.cs#L117

Lingua principale
C#
Stelle
4.4k
Fork
341
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 PowerShell/PSReadLine

Tutte le issue di PowerShell/PSReadLine

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.