eriknellessen

Results 18 comments of eriknellessen

I now understood that what I wanted to do was rather this: ```java BerTlvBuilder berTlvBuilder = BerTlvBuilder.from(myBerTlv); ``` Anyhow, this leaves no possibility to configure a custom buffer size. With...

Hi, thanks for your response. As far as I can see, you use the `addBytes` method, not the `addBerTlv` method. The `addBytes` method does not lead to the error, as...

I tried the test code I posted and found out that it did not reproduce the problem, because the BerTlv was not constructed. I created a pull request with a...

Thanks for asking, I think I was not precise in my original post. First, here is what I wanted to say with "TLS session keys": Looking at the [Oracle example](https://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/ReadDebug.html),...

@peterdettman We usually use JDK 8, but in this case we actually moved to JDK 11, because we needed support for the Brainpool EC curves. Concerning the logging feature in...

In the meantime, I was surprised by seeing an SSL debug log in one of our unit tests while using Java11 and the BC JSSE provider. I dug a little...

@yschimke Thank you, that is an interesting example. I realized that it does more than only setting the right properties. Unfortunately I am no expert concerning Kotlin. Do you see...

@yschimke Ok, thanks for the explanation. So in other words, your approach reenables the logging of the master secret when using JSSE (and only when using TLS up to v1.2,...

@yschimke Alright, thanks for the information. @peterdettman I implemented a proof of concept that shows what I need. You can find it here: https://github.com/eriknellessen/bc-java/commit/66d2f1c1db757d267f797c8e27d97e676cdb1f59 I tested it by including it...

@peterdettman I refined my proof of concept by making the logging of the master secret depend on the value of the "javax.net.debug" system property: https://github.com/eriknellessen/bc-java/commit/66b9637c3128f4b9f7bcd4b3b1484584a9061aff With this implementation, I can...