aws-samples / aws-cloudhsm-pkcs11-examples

Sample applications demonstrating how to use the CloudHSM PKCS#11 library
Other
52 stars 37 forks source link

Where do I find the parameter TRUSTED_WRAPPING_KEY_HANDLE? #39

Closed derektumulak closed 2 years ago

derektumulak commented 3 years ago

I believe this was added later and I'm not sure if it impacts just a subset of the examples. Can clarification be provided?

Thanks! -Derek

gmudambi commented 3 years ago

TRUSTED_WRAPPING_KEY_HANDLE was added to demonstrate how you can use trusted keys to control key unwraps

This parameter is necessary for the following samples: https://github.com/aws-samples/aws-cloudhsm-pkcs11-examples/blob/master/src/wrapping/unwrap_with_template.c

I hope this answers your query.

Links: Using Trusted Keys to Control Key Unwraps: https://docs.aws.amazon.com/cloudhsm/latest/userguide/cloudhsm_using_trusted_keys_control_key_wrap.html

derektumulak commented 3 years ago

This helps. Thank you!

On Aug 24, 2020, at 5:33 PM, Gautham Mudambi notifications@github.com wrote:

 TRUSTED_WRAPPING_KEY_HANDLE was added to demonstrate how you can use trusted keys to control key unwraps

This parameter is necessary for the following samples: https://github.com/aws-samples/aws-cloudhsm-pkcs11-examples/blob/master/src/wrapping/unwrap_with_template.c

I hope this answers your query.

Links: Using Trusted Keys to Control Key Unwraps: https://docs.aws.amazon.com/cloudhsm/latest/userguide/cloudhsm_using_trusted_keys_control_key_wrap.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

rday commented 2 years ago

Closing out as this looks resolved. Please re-open if I'm wrong!