aws / aws/aws-encryption-sdk-javascript
JavaScript instanceOf and different versions of the underlying Encryption SDK modules.
- Lenguaje dominante
- TypeScript
- Estrellas
- 260
- Forks
- 68
- Merge medio
- 22 h 19 min
- PR fusionados (30 d)
- 2
Descripción
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?
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, typescript
- Área
- cryptography, security
- Tipo de issue
- Error
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100