aws / aws/aws-encryption-sdk-python
Support for KMS Attestation when running inside Nitro Enclave
- Lingua principale
- Python
- Stelle
- 255
- Fork
- 92
- Merge medio
- 2g 17h
- PR unite (30g)
- 2
Descrizione
### Problem:
We're running code inside Nitro Enclaves that needs to encrypt and decrypt very sensitive data, and would like to use the Encryption SDK. To make sure that KMS only services signed code running inside the Enclave, we use attestation rules as described in https://docs.aws.amazon.com/enclaves/latest/user/set-up-attestation.html
From what we can see the AWS Encryption SDK does not support attestation yet, so KMS requests will fail when running inside the Enclave, even if the vsock-proxy is configured to forward KMS requests.
### Solution:
Implement support for calling KMS with attestation, as seen in https://github.com/aws/aws-nitro-enclaves-sdk-c/tree/main/source
Or if this is already supported a note stating that, along with vsock-proxy requirement notes would be very helpful.
### Out of scope:
`GenerateDataKey` and `Decrypt` seem to be the biggest candidates to add this for, might not need to bother with any other operations.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Iniziare esaminando l’implementazione C del Nitro Enclaves SDK collegata nell’issue e i percorsi dell’AWS Encryption SDK per GenerateDataKey e Decrypt. Determinare come viene aggiunta l’attestation alle richieste KMS quando si utilizza un vsock-proxy, quindi verificare che tali operazioni funzionino con regole di attestation oppure documentare il supporto esistente e la configurazione richiesta del proxy.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, python
- Ambito
- cloud, security
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100