edgebitio / enclaver

Open source toolkit created to enable easy adoption of software enclaves
https://edgebit.io/enclaver
Apache License 2.0
138 stars 14 forks source link

Add KMS proxy #66

Closed eyakubovich closed 2 years ago

eyakubovich commented 2 years ago

The KMS proxy makes it easy to use KMS Nitro attestation mechanisms from the app without making use of the C SDK.

It listens on the specified port (non-TLS) for KSM HTTP requests and forwards them to the KMS. For those actions that support attesetation (Decrypt, GenerateRandom, GenerateDataKey), it attaches the attestation document that it fetches from the NSM. It then decrypts the response value and forwards it back to the app in plain text form.

robszumski commented 2 years ago

Fixes https://github.com/edgebitio/enclaver/issues/11