aws / aws/aws-encryption-sdk-javascript

JavaScript instanceOf and different versions of the underlying Encryption SDK modules.

Aperta
#126 11 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
260
Fork
68
Merge medio
22h 19m
PR unite (30g)
2

Descrizione

We use instanceOf to insure some security properties of Cryptographic Materials, and Encrypted Data Keys. However, under some conditions, versions of the dependent packages may result in copies of these files being installed (local node_modules folders) for the packages that have differing versions.
This means that these instanceOf checks may fail. Because while the code is the same, the actual instances are not.
What is the best direction?
How pervasive can this be?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Trace the instanceOf checks involving Cryptographic Materials and Encrypted Data Keys, then inspect how differing dependency versions create local node_modules copies. Determine how pervasive the identity mismatch can be and document a concrete direction with tests or reproduction cases showing the expected security behavior.

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

Valutazione

Stack tecnologico
javascript, typescript
Ambito
cryptography, security
Tipo di issue
Bug
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.