-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encrypt support #140
Comments
Hi @edwardysun The KMS encrypt action doesn't support attestation document. So we cannot implement it |
I see. Would an alternate approach like this be valid?
Feels like a bit of a workaround. Am I not considering something that would cause this approach to be insecure? |
@edwardysun Correct, this is actually what Genkey is intended to achieve. Just make sure the "Plaintext" is properly discarded after the encryption |
Got it, thank you! I just tried this out, but the cli appears to not be returning any response in stdout or stderr. I've verified the KMS key ID, region, credentials, and the access policy of the key contains |
I noticed that the kmstool-enclave-cli only supports a decrypt, genkey, and genrandom. Is there a reason why encrypt is not supported? I'd like to call a KMS encrypt operation on a plaintext inside the enclave. What is the best approach for doing that?
Thank you
The text was updated successfully, but these errors were encountered: