From a97dbeb8e056d3f478325393ad35859404f61191 Mon Sep 17 00:00:00 2001 From: Lukas Burkhalter Date: Tue, 25 Jun 2024 17:03:24 +0200 Subject: [PATCH] feat: Set key encryption cipher to aes-256 --- profile/preset.go | 1 + 1 file changed, 1 insertion(+) diff --git a/profile/preset.go b/profile/preset.go index 054e96e2..5791b5c7 100644 --- a/profile/preset.go +++ b/profile/preset.go @@ -82,6 +82,7 @@ func ProtonV1() *Custom { SetKeyAlgorithm: setKeyAlgorithm, Hash: crypto.SHA512, CipherEncryption: packet.CipherAES256, + CipherKeyEncryption: packet.CipherAES256, CompressionAlgorithm: packet.CompressionZLIB, KeyGenAeadEncryption: &packet.AEADConfig{ DefaultMode: packet.AEADModeGCM,