aws / aws/aws-dynamodb-encryption-java

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

Ouverte
#69 0 commentaires 6 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Java
Étoiles
141
Forks
74
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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`.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par retracer la manière dont la bibliothèque applique actuellement le chiffrement et la signature par défaut, puis localisez la gestion des annotations pour @DoNotEncrypt et @DoNotTouch. Déterminez où sont sélectionnées les valeurs par défaut au niveau de l’entité et du champ, et identifiez les tests existants pour les annotations ; le travail terminé doit inclure le nouveau comportement de @Encrypt et @EncryptAndSign sans nécessiter d’annotations d’exclusion sur les entités non concernées.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
database, security
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.