Skip to content

Commit

Permalink
Modified passphrase in stratis test
Browse files Browse the repository at this point in the history
FIPS requires at least 8 chars long passphrase. Dummy passphrase used
in stratis test was too short causing encryption
tests with FIPS enabled to fail.

Changed passphrase.

fixes RHEL-45173, RHEL-8029
  • Loading branch information
japokorn authored and vojtechtrefny committed Nov 8, 2024
1 parent 33a8c69 commit 1b03776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/storage_tests/devices_test/stratis_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def test_stratis_encrypted_clevis_tang(self):
blivet.partitioning.do_partitioning(self.storage)

pool = self.storage.new_stratis_pool(name="blivetTestPool", parents=[bd],
encrypted=True, passphrase="abcde",
encrypted=True, passphrase="fipsneeds8chars",
clevis=StratisClevisConfig(pin="tang",
tang_url=self._tang_server,
tang_thumbprint=None))
Expand Down

0 comments on commit 1b03776

Please sign in to comment.