We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7151629 commit 71079a1Copy full SHA for 71079a1
profile/preset.go
@@ -119,13 +119,19 @@ func ProtonV1() *Custom {
119
SetKeyAlgorithm: setKeyAlgorithm,
120
Hash: crypto.SHA512,
121
CipherEncryption: packet.CipherAES256,
122
+ CipherKeyEncryption: packet.CipherAES256,
123
CompressionAlgorithm: packet.CompressionZLIB,
124
KeyGenAeadEncryption: &packet.AEADConfig{
125
DefaultMode: packet.AEADModeGCM,
126
},
127
CompressionConfiguration: &packet.CompressionConfig{
128
Level: 6,
129
130
+ S2kKeyEncryption: &s2k.Config{
131
+ S2KMode: s2k.IteratedSaltedS2K,
132
+ Hash: crypto.SHA256,
133
+ S2KCount: 65536,
134
+ },
135
DisableIntendedRecipients: true,
136
AllowAllPublicKeyAlgorithms: true,
137
AllowWeakRSA: true,
0 commit comments