Skip to content
Snippets Groups Projects
Commit 5c74625b authored by Klaus Fischer's avatar Klaus Fischer
Browse files

Disabled compression header entirely

parent 178b5500
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ public class JoseEncryptor : IEncryptor {
return JWE.Encrypt(plain,
new JweRecipient[] { new(EncryptionSettings.Algorithm, jwk) },
EncryptionSettings.Encryption,
compression: EncryptionSettings.Compression,
// compression: EncryptionSettings.Compression,
mode: EncryptionSettings.SerializationMode,
extraProtectedHeaders: new Dictionary<string, object> {
{ "kid", jwk.KeyId },
......@@ -57,7 +57,7 @@ public class JoseEncryptor : IEncryptor {
return JWE.EncryptBytes(plain,
new JweRecipient[] { new(EncryptionSettings.Algorithm, jwk) },
EncryptionSettings.Encryption,
compression: EncryptionSettings.Compression,
// compression: EncryptionSettings.Compression,
mode: EncryptionSettings.SerializationMode,
extraProtectedHeaders: new Dictionary<string, object> {
{ "kid", jwk.KeyId },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment