IBM / raksh

Seamlessly use VM based TEEs with Kubernetes for data-in use protection
Apache License 2.0
36 stars 9 forks source link

adding unit test case TestDecryptConfigMapWrongkey for crypto #23

Closed ssinha20 closed 4 years ago

ssinha20 commented 4 years ago

Test Objective : A new unit test case, TestDecryptConfigMapWrongkey is being added for crypto. In Symmetric encryption, only one key (a secret key) is used to both encrypt and decrypt. In this test, behavior of passing wrong key value is being tested.

ssinha20 commented 4 years ago

Please review the changes and let me know your comments for the same.

ssinha20 commented 4 years ago

Updated the code as per above two review comments in my next commit 250a47f. Please review and let me know your comments for the same.