Open rohan-passbird opened 2 years ago
Building a local setup to try and see this.
So you're basically instantiating a KMS client in the enclave and then issue N kms_decrypt_blocking()
calls, right?
Does the crash happen on Decrypt failure when you do cleanup on the KMS client resources?
I spawned N different kmstools_cli processes instead of doing it in the same process.
As you can see in the stack trace, the crash happens on cleanup, when aws_nitro_enclaves_kms_client_destroy
is called. I checked the logs and the KMS request was actually successful.
I am trying to send multiple requests to KMS from inside the enclave. ~1-2% requests are failing with crash in aws_http_connection_release.