Add missing unit test for p11_crypto_plugin_always_set_cka_sensitive
This change is a follow-up of the previous commit[1] and add a unit
test case to validate the new parameter.
[1] 27b1cc2735
Change-Id: Ie7099bdf32a12fa85109279b576ff5ab126b59e0
This commit is contained in:
parent
d4cf4c656e
commit
d7e27eb854
|
@ -39,6 +39,7 @@ describe 'barbican::plugins::p11_crypto' do
|
|||
:p11_crypto_plugin_hmac_keygen_mechanism => 'CKM_AES_KEY_GEN',
|
||||
:p11_crypto_plugin_aes_gcm_generate_iv => false,
|
||||
:p11_crypto_plugin_os_locking_ok => false,
|
||||
:p11_crypto_plugin_always_set_cka_sensitive => true,
|
||||
:global_default => true,
|
||||
}
|
||||
end
|
||||
|
@ -70,6 +71,8 @@ describe 'barbican::plugins::p11_crypto' do
|
|||
.with_value(params[:p11_crypto_plugin_hmac_keygen_mechanism])
|
||||
is_expected.to contain_barbican_config('p11_crypto_plugin/aes_gcm_generate_iv') \
|
||||
.with_value(params[:p11_crypto_plugin_aes_gcm_generate_iv])
|
||||
is_expected.to contain_barbican_config('p11_crypto_plugin_always_set_cka_sensitive') \
|
||||
.with_value(params[:p11_crypto_plugin_always_set_cka_sensitive])
|
||||
is_expected.to contain_barbican_config('p11_crypto_plugin/os_locking_ok') \
|
||||
.with_value(params[:p11_crypto_plugin_os_locking_ok])
|
||||
is_expected.to contain_barbican_config(
|
||||
|
|
Loading…
Reference in New Issue