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

Java keystore types defined as lower case #515

Closed
ahazeltonNF opened this issue Nov 8, 2023 · 0 comments · Fixed by #539
Closed

Java keystore types defined as lower case #515

ahazeltonNF opened this issue Nov 8, 2023 · 0 comments · Fixed by #539

Comments

@ahazeltonNF
Copy link
Contributor

According to the https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#keystore-types specification, the official type is defined as pkcs12. In Enroller.kt it specifically requires the upper case name:
if (keyStore.type == "PKCS12"). This should be a case insensitive comparison.
There is also a KeyStore.getDefaultType() that returns pkcs12 in lower case

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

Successfully merging a pull request may close this issue.

1 participant