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 29afc71 commit 39248aaCopy full SHA for 39248aa
profile/preset.go
@@ -141,13 +141,19 @@ func ProtonV1() *Custom {
141
SetKeyAlgorithm: setKeyAlgorithm,
142
Hash: crypto.SHA512,
143
CipherEncryption: packet.CipherAES256,
144
+ CipherKeyEncryption: packet.CipherAES256,
145
CompressionAlgorithm: packet.CompressionZLIB,
146
KeyGenAeadEncryption: &packet.AEADConfig{
147
DefaultMode: packet.AEADModeGCM,
148
},
149
CompressionConfiguration: &packet.CompressionConfig{
150
Level: 6,
151
152
+ S2kKeyEncryption: &s2k.Config{
153
+ S2KMode: s2k.IteratedSaltedS2K,
154
+ Hash: crypto.SHA256,
155
+ S2KCount: 65536,
156
+ },
157
DisableIntendedRecipients: true,
158
AllowAllPublicKeyAlgorithms: true,
159
AllowWeakRSA: true,
0 commit comments