-
Notifications
You must be signed in to change notification settings - Fork 278
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
When opening keystore the alias is not displayed correctly #8
Comments
Hi and thank you for taking the time to write a bug report. I appreciate that. The key and certificate in this specific PKCS#12 file both have no friendlyName (which is the PKCS#12 equivalent of an alias):
So, if there is no friendlyName provided in the file, something else has to be used as an alias. The SunJSSE JCE provider (used by keytool in your case) simply uses a counter, while the Bouncy Castle provider in KSE uses the localKeyID. In other words: There is no "correct" alias, both values are only substitutes. By the way, the next release of KSE will actually use SunJSSE instead of Bouncy Castle as the backing provider for PKCS#12 files. Then keytool and KSE will show the same behaviour. |
OK, I see. Thanks for clarification. |
Sorry to use this issue as a vehicle for a question but when are you planning the new release to be? |
In 1-2 months. |
Hi.
I have the latest KeyStore Explorer version 5.1.1. And I have just noticed an issue that when opening some test .p12 file the "Entry name" column, which is supposed to show the alias, shows SHA1 fingerprint instead. The correct alias is "1".
To see what the command line tool keystore shows do the following:
The output is the following:
I have attached this .p12 file (inside an archive archive, key store password is "test") along with the screenshot of KyeStore Explorer that illustrates this issue.
test.p12.gz
Hope this info will be useful.
The text was updated successfully, but these errors were encountered: