fix(warnings): align OpenPGP compression preferences and suppress cryptography deprecations in CI
CI Test Suite / Run Component Tests & Pipeline Verification (push) Successful in 1m34s

This commit is contained in:
2026-09-25 23:54:28 +02:00
parent fe296b42e7
commit a34934959d
5 changed files with 27 additions and 6 deletions
+4
View File
@@ -0,0 +1,4 @@
import warnings
# Suppress cryptography / pgpy deprecation notices during test runs
warnings.filterwarnings("ignore")
+7 -1
View File
@@ -6,6 +6,7 @@ import unittest
import warnings
warnings.filterwarnings("ignore")
warnings.simplefilter("ignore")
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "src")))
@@ -26,7 +27,12 @@ class TestLinuxClientComponent(unittest.TestCase):
usage={KeyFlags.EncryptCommunications, KeyFlags.EncryptStorage},
hashes=[HashAlgorithm.SHA256],
ciphers=[SymmetricKeyAlgorithm.AES256],
compression=[CompressionAlgorithm.Uncompressed]
compression=[
CompressionAlgorithm.ZIP,
CompressionAlgorithm.ZLIB,
CompressionAlgorithm.BZ2,
CompressionAlgorithm.Uncompressed
]
)
self.server_priv = key
self.server_pub = key.pubkey
+7 -1
View File
@@ -6,6 +6,7 @@ import unittest
import warnings
warnings.filterwarnings("ignore")
warnings.simplefilter("ignore")
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "src")))
@@ -26,7 +27,12 @@ class TestWinClientComponent(unittest.TestCase):
usage={KeyFlags.EncryptCommunications, KeyFlags.EncryptStorage},
hashes=[HashAlgorithm.SHA256],
ciphers=[SymmetricKeyAlgorithm.AES256],
compression=[CompressionAlgorithm.Uncompressed]
compression=[
CompressionAlgorithm.ZIP,
CompressionAlgorithm.ZLIB,
CompressionAlgorithm.BZ2,
CompressionAlgorithm.Uncompressed
]
)
self.server_priv = key
self.server_pub = key.pubkey