<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi,<br>
<br>
Thanks for letting us know about this. We would like to figure out
what might be causing this. However, this is not the best forum
for debugging issues.<br>
<br>
Can you please file a bug at <a class="moz-txt-link-freetext" href="https://bugreport.java.com/bugreport/">https://bugreport.java.com/bugreport/</a>
?<br>
<br>
Can you also attach the debug output when running with "java
-Djava.security.debug=all ..." to the bug report.<br>
<br>
A test program that reproduces the issue would also be useful, but
probably not necessary unless we cannot reproduce the issue.<br>
<br>
Thanks,<br>
Sean</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 5/11/20 4:50 AM, Michele Adduci
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:8d79b4ba-d170-3abd-2343-910c2067992e@openlimit.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hello,</p>
<p>my name is Michele Adduci and I've freshly subscribed to this
mailing list because I'm seeking for advice/help on an issue
that arose during the creation of a new application and I
couldn't find my answers by searching online.<br>
<br>
I'm using JDK 14.0.1 GA and trying to create a small
redistributable version of my application using the combo jlink
+ jpackage.<br>
<br>
</p>
In my application, I'm trying to validate some signatures with
algorithm such a<code></code><code></code><code></code>s
SHA256withECDSA, SHA384withECDSA and SHA512withECDSA. If I run my
application with the standard JDK distribution, the application is
working correctly, but if I run it with the result of
jlink+jpackage, I get errors like<br>
<br>
<p>"SHA256withECSA Signature not available"</p>
<p>I've double-checked that libsunec.so is in place under the
'runtime/lib' folder, but I've seen that the SunEC provider
isn't loaded at all during the start (just SUN and SunRSA are
being loaded).<br>
<br>
The jlink modules I'm using are: <br>
</p>
<p>java.desktop,java.smartcardio,java.management,java.sql,java.logging,java.net.http,java.xml.crypto,jdk.crypto.ec</p>
<p>and my jlink command is the following one:</p>
<p><br>
</p>
<p>jlink --strip-debug \<br>
--strip-native-commands \<br>
--bind-services \<br>
--no-header-files \<br>
--no-man-pages \<br>
--compress=2 \<br>
--module-path ${JAVA_HOME}/jmods \<br>
--add-modules
java.desktop,java.smartcardio,java.management,java.sql,java.logging,java.net.http,java.xml.crypto,jdk.crypto.ec
\<br>
--output jlink-runtime</p>
<p><br>
</p>
<p>What am I doing wrong? The issue is present in both Windows and
Linux - I cannot test on Mac.<br>
<br>
Kind regards and thanks in advance for your help<br>
<br>
Michele Adduci<br>
<br>
</p>
</blockquote>
</body>
</html>