diff --git a/simplexmq.cabal b/simplexmq.cabal index 5e436f8db..b1932ffaf 100644 --- a/simplexmq.cabal +++ b/simplexmq.cabal @@ -319,7 +319,7 @@ library , stm ==2.5.* , time ==1.12.* , time-manager ==0.0.* - , tls ==2.1.8.* + , tls ==2.1.6.* , transformers ==0.6.* , unliftio ==0.2.* , unliftio-core ==0.2.* diff --git a/src/Simplex/Messaging/Transport.hs b/src/Simplex/Messaging/Transport.hs index 1c00ec261..a95b68280 100644 --- a/src/Simplex/Messaging/Transport.hs +++ b/src/Simplex/Messaging/Transport.hs @@ -387,8 +387,8 @@ defaultSupportedParams = def { T.supportedVersions = [T.TLS13, T.TLS12], T.supportedCiphers = - [ TE.cipher13_CHACHA20_POLY1305_SHA256, -- for TLS13 - TE.cipher_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 -- for TLS12 + [ TE.cipher_TLS13_CHACHA20POLY1305_SHA256, -- for TLS13 + TE.cipher_ECDHE_ECDSA_CHACHA20POLY1305_SHA256 -- for TLS12 ], T.supportedHashSignatures = [(T.HashIntrinsic, T.SignatureEd448), (T.HashIntrinsic, T.SignatureEd25519)], T.supportedGroups = [T.X448, T.X25519],