diff --git a/profile/preset.go b/profile/preset.go index 054e96e2..3a51f505 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, @@ -89,6 +90,11 @@ func ProtonV1() *Custom { CompressionConfiguration: &packet.CompressionConfig{ Level: 6, }, + S2kKeyEncryption: &s2k.Config{ + S2KMode: s2k.IteratedSaltedS2K, + Hash: crypto.SHA256, + S2KCount: 65536, + }, DisableIntendedRecipients: true, AllowAllPublicKeyAlgorithms: true, AllowWeakRSA: true,