aws / aws/aws-encryption-sdk-javascript

Remove the default padding for RSA keyrings

Aperta
#350 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
doc change required
Lingua principale
TypeScript
Stelle
260
Fork
68
Merge medio
22h 19m
PR unite (30g)
2

Descrizione

The default was added when Node.js only supported OAEP-SHA-1-MFG1-SHA1,
but in v12 all the SHA flavors were added.

Having a default of SHA-1 when SHA-256 is available is a bad customer experience.
Since these values must agree on the keyring used to encrypt and the keyring to decrypt,
and this value will advance as the world changes,
having a default for this is a bad idea.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Individua l’implementazione di RSA keyring e i relativi test, quindi traccia dove viene selezionato il padding predefinito per la cifratura e la decifratura. Conferma il comportamento previsto per i chiamanti che non specificano il padding e verifica che il keyring richieda impostazioni SHA esplicite corrispondenti.

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

Valutazione

Stack tecnologico
typescript
Ambito
cryptography
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.