We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2f5af57 + 4366fa3 commit 827d7bcCopy full SHA for 827d7bc
tests/crypto_test.py
@@ -702,6 +702,12 @@ def test_luks2_open_rw(self):
702
703
class CryptoTestEscrow(CryptoTestCase):
704
def setUp(self):
705
+ # I am not able to generate a self-signed certificate that would work in FIPS
706
+ # so let's just skip this for now
707
+ fips = read_file("/proc/sys/crypto/fips_enabled")
708
+ if int(fips) == 1:
709
+ self.skipTest("Skipping escrow tests in FIPS mode")
710
+
711
super(CryptoTestEscrow, self).setUp()
712
713
# Create the certificate used to encrypt the escrow packet and backup passphrase.
0 commit comments