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
+8 -3
View File
@@ -368,9 +368,14 @@ def generate_server_keypair(server_name: str):
key.add_uid(
uid,
usage={KeyFlags.EncryptCommunications, KeyFlags.EncryptStorage},
hashes=[HashAlgorithm.SHA256],
ciphers=[SymmetricKeyAlgorithm.AES256],
compression=[CompressionAlgorithm.Uncompressed]
hashes=[HashAlgorithm.SHA256, HashAlgorithm.SHA512],
ciphers=[SymmetricKeyAlgorithm.AES256, SymmetricKeyAlgorithm.AES128],
compression=[
CompressionAlgorithm.ZIP,
CompressionAlgorithm.ZLIB,
CompressionAlgorithm.BZ2,
CompressionAlgorithm.Uncompressed
]
)
private_key_armored = str(key)
public_key_armored = str(key.pubkey)