New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading of System-Certificates takes long or forever when USB-Token Software is installed. #467
Comments
Thank you for reporting this issue. It is quite detailed. I am linking the issues of sonarsource also here and the existing earlier issues related to this topic:
It might also be related to the following jdk bug reports: |
Maybe you want to hold this investigation for now. |
By the way, I am having hard time to setup the same setup as you have on your work pc. Would it be possible that I do code changes on this repo and create a jar so you can try it out on your side and share your results here? In that way I can atleast give an attempt to resolve the issue. What do you think? |
Working for two days, one in the Office and one from home (Remote-Desktop). The error did not present itself again and i am not shure what exactly fixed it. I would report back if the Error comes back within this week or so. If not i tink this could be closed. |
Interesting behaviour, not quite sure what to do with it actually... If I had a way to reproduce it locally I could attempt to fix it, but even you have difficulties reproducing it
That would be nice to report back if it is occuring again. Lets keep the issue open for some time. Can you maybe also give an update within the sonarsource community? Not sure whether they are following your updates here. |
The developers of the SonarLint Eclipse plugin also know that i don't have this issue anymore. |
I am closing this bug report as it is not fixable within this library. This bug is related to the JDK itself. The correct way to resolve this bug is to wait till the maintainers of the JDK (Oracle) or hope that someone in the community can contribute to the openjdk to fix it in Microsoft Crypto API (MSCAPI) For the time being the call to fetch the system trustmaterial on windows should be tested on the end-user. If there is no issues it can be safely used or else it needs to be avoided. I will also add a disclaimer on the main documentation page. |
I am linking the OpenJDK bug report here to track the progress for the fix: https://bugs.openjdk.org/browse/JDK-8332076 |
We have an Issue Starting the SonarLint Eclipse Plugin after installing Software to support code signing via USB-Token.
The problem can be reproduced by using your library in a main-method.
(the SonarLint-Plugin uses your library internally)
While reading system certificates the application hangs forever.
Uninstalling this software solves the problem.
We use SafeNet Authentication Client (link)
To Reproduce
execution hangs forever.
Since i don't need to sing locally i will remove this application for now.
Expected behavior
execution of that code to take a second or so
Environmental Data:
Stack-Trace
The text was updated successfully, but these errors were encountered: