<div dir="ltr">Hi Tomas,<div><br></div><div>As Andrew said, I've been working on some SunPKCS11 improvements related to native memory leaking. You can find details of this work here [1]. Feedback is always welcomed.</div><div><br></div><div>What do you mean with "more flexibility"?</div><div><br></div><div>--</div><div>[1] - <a href="http://mail.openjdk.java.net/pipermail/security-dev/2017-October/016400.html">http://mail.openjdk.java.net/pipermail/security-dev/2017-October/016400.html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 24, 2018 at 8:06 AM, Andrew Haley <span dir="ltr"><<a href="mailto:aph@redhat.com" target="_blank">aph@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 24/01/18 10:39, Tomas Gustavsson wrote:<br>
> Imho the P11 layer always needs attention. To work properly we're<br>
> relying on some patches, where parts was recently merged into OpenJDK.<br>
> We just started testing the Amazon CloudHSM, and that requires changes<br>
> to SunPKCS11 as well to work. Not always bad in SunPKCS11 as some P11<br>
> libraries out there do strange non-conforming stuff, but there's room<br>
> for more flexibility nevertheless.<br>
<br>
</span>Martin Balao has been heavily reworking this layer because it leaks<br>
native memory.  I'll let him fill you in on the details.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Andrew Haley<br>
Java Platform Lead Engineer<br>
Red Hat UK Ltd. <<a href="https://www.redhat.com" rel="noreferrer" target="_blank">https://www.redhat.com</a>><br>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671<br>
</font></span></blockquote></div><br></div>