Skip to content
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

JPMS support #19

Open
dmatej opened this issue Aug 8, 2023 · 0 comments
Open

JPMS support #19

dmatej opened this issue Aug 8, 2023 · 0 comments

Comments

@dmatej
Copy link

dmatej commented Aug 8, 2023

Hi, I have issues with SunPKCS11 implementation in JDK17. I wanted to try your implementation, however it doesn't support JPMS and when I tried to fork your project and add the module-info file, it started to be visible that it is much bigger problem than I originally thought.

Do you have any plans to fix the OpenJDK implementation or to implement standalone independent implementation with the JPMS support?

Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_USER_NOT_LOGGED_IN
	at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.C_CreateObject(Native Method)
	at jdk.crypto.cryptoki/sun.security.pkcs11.P11RSAKeyFactory.generatePublic(P11RSAKeyFactory.java:193)
	at jdk.crypto.cryptoki/sun.security.pkcs11.P11RSAKeyFactory.implTranslatePublicKey(P11RSAKeyFactory.java:59)
	... 76 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant