aws / aws/aws-dynamodb-encryption-java

Enable Encryption and/or Signing Only when Annotated [Feature Request]

Abierto
#69 0 comentarios 6 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Java
Estrellas
141
Forks
74
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Currently the library encrypts and signs every field in all entities by _default_ unless `@DoNotEncrypt` or `@DoNotTouch` are applied to fields or types.

The feedback I'd like to provide is that most all projects that I've been a part of aren't willing to accept the overhead of client-side encryption on every field and table. It's usually just a few sensitive fields, where the overhead is justified (or required from a regulatory standpoint). Imagine a project with 50 tables where only one requires client-side encryption. With the current default users need to annotate 49 entities with `@DoNotTouch` and leave one table without any annotations - the one where we do want to encrypt attributes.

This feature request is to add a way to change the default to not do anything unless one of the following new annotations are found on the entity or field: `@Encrypt` or `@EncryptAndSign`.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza rastreando cómo aplica actualmente la biblioteca el cifrado y la firma de forma predeterminada, y después localiza el manejo de las anotaciones para @DoNotEncrypt y @DoNotTouch. Determina dónde se seleccionan los valores predeterminados a nivel de entidad y de campo, e identifica las pruebas existentes para las anotaciones; el trabajo terminado debe incluir el nuevo comportamiento de @Encrypt y @EncryptAndSign sin requerir anotaciones de exclusión para entidades no relacionadas.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
database, security
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.