aws / aws/aws-dynamodb-encryption-java
Enable Encryption and/or Signing Only when Annotated [Feature Request]
- Lingua principale
- Java
- Stelle
- 141
- Fork
- 74
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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`.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando il modo in cui la libreria applica attualmente la crittografia e la firma per impostazione predefinita, quindi individua la gestione delle annotazioni per @DoNotEncrypt e @DoNotTouch. Determina dove vengono selezionati i valori predefiniti a livello di entità e di campo e identifica i test esistenti per le annotazioni; il lavoro completato deve includere il nuovo comportamento di @Encrypt e @EncryptAndSign senza richiedere annotazioni di esclusione sulle entità non correlate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- database, security
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100