diff --git a/profile/preset.go b/profile/preset.go index 506f36df..ee5ab3bf 100644 --- a/profile/preset.go +++ b/profile/preset.go @@ -79,6 +79,7 @@ func ProtonV1() *Custom { SetKeyAlgorithm: setKeyAlgorithm, Hash: crypto.SHA512, CipherEncryption: packet.CipherAES256, + CipherKeyEncryption: packet.CipherAES256, CompressionAlgorithm: packet.CompressionZLIB, KeyGenAeadEncryption: &packet.AEADConfig{ DefaultMode: packet.AEADModeGCM, @@ -86,6 +87,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,