aws / aws-nitro-enclaves-nsm-api

This provides a library for interacting with the Nitro Secure Module, which provides Nitro Enclaves with attestation capability.
Apache License 2.0
61 stars 43 forks source link

Rust bindings? #5

Open nhynes opened 3 years ago

nhynes commented 3 years ago

Granted that this library is intended as a memory safe subcomponent of the C SDK, it'd be nice to be able to write an entire enclave application in Rust. Are there any plans to expose similar functionality in Rust? Or is the idea to turn the SDK into a libc and go the Fortanix route? Either way, it'd be great to write more Rust!

nhynes commented 3 years ago

Here's my take on it. Maybe it'll prove useful to someone else.

petreeftime commented 3 years ago

I'd be happy to review and merge your changes if you want to do a pull request with them.