Generic Security Provider native image registration code is not complete
See original GitHub issueDescribe the bug
The current security provider registration code is limited in what it can do - it can only work for the default Sun providers which are already available - and it only registers them for reflection.
It does not work for providers like sun.security.pkcs11.SunPKCS11
Expected behavior
When a new provider is registered it should be added as a security provider if it is not already available - additionally it should be registered as an additional security provider in native image
Actual behavior
No response
How to Reproduce?
No response
Output of uname -a
or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
Generic Security Provider native image registration code is not ...
Generic Security Provider native image registration code is not complete #31197. Sign in to view logs · Sign in to view logs ...
Read more >JCA Security Services on Native Image - Oracle Help Center
Provider Registration. The native image builder captures the list of providers and their preference order from the underlying JVM. The provider order is ......
Read more >Static Application Security Testing (SAST) - GitLab Docs
If you're using GitLab CI/CD, you can use Static Application Security Testing (SAST) to check your source code for known vulnerabilities.
Read more >Spring Native documentation
The key differences between a regular JVM and this native image ... see a lot of WARNING: Could not register reflection metadata messages....
Read more >Documentation Archive - Apple Developer
Title Resource Type Technology Date
Xcode Release Notes Release Notes 2018‑06...
Apple File System Guide Guides 2018‑06...
Understanding and Detecting OpenGL Functionality Technical Notes OpenGL 2018‑06......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@malys Thanks, this is sufficient, I think the problem is not confined to supporting this specific provider - if we can tune the code such that any 3rd party provider requiring no dedicated processing works in native then it will work for this provider as well
Same issue
I am not sure how to do that given that the config file is multiline. Shall I just seperate key=value pairs by space?
I tried
with no luck.