<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi there,<div class=""><br class=""></div><div class=""><br class=""></div><div class="">Did the debug log help at all or should I try to gather more informations from the user ?</div><div class=""><br class=""></div><div class="">Bye</div><div class="">Norman</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17. May 2019, at 21:26, Norman Maurer <<a href="mailto:norman.maurer@googlemail.com" class="">norman.maurer@googlemail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The user did capture the log here:<div class=""><br class=""></div><div class=""><a href="https://hasteb.in/ucalevob.makefile" class="">https://hasteb.in/ucalevob.makefile</a></div><div class=""><br class=""></div><div class="">Hopefully it is helpful,</div><div class=""><br class=""></div><div class="">Norman</div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 17. May 2019, at 20:38, Norman Maurer <<a href="mailto:norman.maurer@googlemail.com" class="">norman.maurer@googlemail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Unfortunately I am very busy atm so it may take me a few days. I asked the original reported of the issue to provide some in the netty issue tracker. I will come back to you.<br class=""><br class="">Bye<br class="">Norman<br class=""><br class=""><br class=""><blockquote type="cite" class="">On 17. May 2019, at 20:27, Xuelei Fan <<a href="mailto:xuelei.fan@oracle.com" class="">xuelei.fan@oracle.com</a>> wrote:<br class=""><br class="">Hi Norman,<br class=""><br class="">If you are able to reproduce this issue, would you mind post the JSSE debug log (by using Java System Property, "javax.net.debug=all")?<br class=""><br class="">Please feel free to submit a bug.<br class=""><br class="">Thanks & Regards,<br class="">Xuelei<br class=""><br class="">On 5/17/2019 11:02 AM, Norman Maurer wrote:<br class=""><blockquote type="cite" class="">Hi there,<br class="">We recently received a bug report in netty when JDK12 is used with ChaCha chiphers:<br class=""><a href="https://github.com/netty/netty/issues/9150" class="">https://github.com/netty/netty/issues/9150</a><br class="">Basically it seems like there is a problem in how it uses the ByteBuffer internally:<br class="">|Caused by: java.lang.RuntimeException: javax.crypto.ShortBufferException: Output buffer too small at java.base/com.sun.crypto.provider.ChaCha20Cipher.engineDoFinal(ChaCha20Cipher.java:703) at java.base/javax.crypto.CipherSpi.bufferCrypt(CipherSpi.java:826) at java.base/javax.crypto.CipherSpi.engineDoFinal(CipherSpi.java:730) at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2503) at java.base/sun.security.ssl.SSLCipher$T12CC20P1305ReadCipherGenerator$CC20P1305ReadCipher.decrypt(SSLCipher.java:2188) at java.base/sun.security.ssl.SSLEngineInputRecord.decodeInputRecord(SSLEngineInputRecord.java:240) at java.base/sun.security.ssl.SSLEngineInputRecord.decode(SSLEngineInputRecord.java:197) at java.base/sun.security.ssl.SSLEngineInputRecord.decode(SSLEngineInputRecord.java:160) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:108) at java.base/sun.security.ssl.SSLEngineImpl.decode(SSLEngineImpl.java:681) at java.base/sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:636) at java.base/sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:454) ... 25 common frames omitted Caused by: javax.crypto.ShortBufferException: Output buffer too small at java.base/com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.doFinal(ChaCha20Cipher.java:1360) at java.base/com.sun.crypto.provider.ChaCha20Cipher.engineDoFinal(ChaCha20Cipher.java:701)|<br class="">Unfortunately I have no standalone reproducer yet but I just wanted to bring it up here in case it helps.<br class="">It only happens on JDK12 it seems. Check the Netty issue for more details…<br class="">Bye<br class="">Norman<br class=""></blockquote></blockquote><br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>