diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2016-01-22 14:53:49 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2016-01-25 09:54:21 -0800 |
commit | 6e784ba749b543b13f667a2e267877f0d54141cb (patch) | |
tree | 9da2c4eb2b35f0fffc22cba70644670edc4f2831 /spec/unit/encrypted_data_bag_item_spec.rb | |
parent | 724c32510f097ebdffdcc387392862a9ae5f835c (diff) | |
download | chef-6e784ba749b543b13f667a2e267877f0d54141cb.tar.gz |
Skip Version0 encrypted databag tests when in fips mode
aes-256-cbc does not seem to work when openssl is in fips mode.
The only other reference I could find to this was:
https://access.redhat.com/solutions/176633
Diffstat (limited to 'spec/unit/encrypted_data_bag_item_spec.rb')
-rw-r--r-- | spec/unit/encrypted_data_bag_item_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/encrypted_data_bag_item_spec.rb b/spec/unit/encrypted_data_bag_item_spec.rb index 796ad8ff5b..ee69ecfddc 100644 --- a/spec/unit/encrypted_data_bag_item_spec.rb +++ b/spec/unit/encrypted_data_bag_item_spec.rb @@ -290,7 +290,7 @@ describe Chef::EncryptedDataBagItem::Decryptor do end - context "when decrypting a version 0 (YAML+aes-256-cbc+no iv) encrypted value" do + context "when decrypting a version 0 (YAML+aes-256-cbc+no iv) encrypted value", :not_fips do let(:encrypted_value) do Version0Encryptor.encrypt_value(plaintext_data, encryption_key) end |