epuzanov opened a new pull request, #1106:
URL: https://github.com/apache/cxf/pull/1106
As for now Deflater and Inflater initialized with different 'nowrap' value.
As result we are getting the folowing Exeption:
```
java.lang.SecurityException: java.util.zip.DataFormatException: invalid
stored block lengths
at
org.apache.cxf.rt.security.crypto.CryptoUtils.processBytes(CryptoUtils.java:587)
at
org.apache.cxf.rt.security.crypto.CryptoUtils.decryptBytes(CryptoUtils.java:483)
at
org.apache.cxf.rs.security.jose.jwe.AbstractJweDecryption.doDecrypt(AbstractJweDecryption.java:72)
at
org.apache.cxf.rs.security.jose.jwe.AbstractJweDecryption.decrypt(AbstractJweDecryption.java:57)
at
org.apache.cxf.rs.security.jose.jwe.JweJsonConsumer.decryptWith(JweJsonConsumer.java:64)
```
This PR will fix the Jwe Compression by setting the 'nowrap' parameter for
both Deflater and Inflater to 'true' (RAW DEF) as specified in the RFC1951.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]