Closed tulsidas closed 10 months ago
Thanks for taking the time to create a bug report!
The reason for this is that at the point in time when this dialog is displayed, the key is already converted into a Java key object and the internal format of the JRE is always PKCS#8.
I agree that this is confusing, especially when one uses the "Examine Clipboard" or "Examine File" feature to open the key details. I'll see what I can do about it.
Maybe some metadata can be passed to the Key object to be displayed which can eventually override the Key attributes. I'll take a look in the source code
El sáb., 13 de mayo de 2023 13:14, Kai Kramer @.***> escribió:
Thanks for taking the time to create a bug report!
The reason for this is that at the point in time when this dialog is displayed, the key is already converted into a Java key object and the internal format of the JRE is always PKCS#8.
I agree that this is confusing, especially when one uses the "Examine Clipboard" or "Examine File" feature to open the key details. I'll see what I can do about it.
— Reply to this email directly, view it on GitHub https://github.com/kaikramer/keystore-explorer/issues/436#issuecomment-1546702363, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABPDDBJWC34MHIYBHWE4WTXF6XNNANCNFSM6AAAAAAX72TRLE . You are receiving this because you authored the thread.Message ID: @.***>
@tulsidas Are you working on this? If you need some guidance, just let me know.
Oh my! I thought this was a couple of months ago, turns out it was in May last year! 😓
I didn't do any work on this, but I pledge to do it, given how much I use KeyStore Explorer in my daily job
@kaikramer if you have any pointers on which packages I should start looking into, great, otherwise don't worry I can manage
Describe the bug The same private key, stored in PEM in both PKCS#1 & PKCS#8 format, when displayed in KeyStore Explorer it shows that both are PKCS#8 (which can be confusing)
For reference, I used the following keys:
PKCS#1
PKCS#8
To Reproduce Steps to reproduce the behavior:
PKCS#8
Expected behavior I expect PKCS#1 keys to show that the format is actually PKCS#1
Screenshots For the PKCS#1 key pasted above:
Environment