kaikramer / keystore-explorer

KeyStore Explorer is a free GUI replacement for the Java command-line utilities keytool and jarsigner.
https://keystore-explorer.org/
GNU General Public License v3.0
1.7k stars 275 forks source link

Main window showing '-' in AKI and SKI columns #213

Closed michaelkarnerfors closed 4 years ago

michaelkarnerfors commented 4 years ago

Describe the bug The main window, the "Authority Key Identifier" and "Subject Key Identifier" shows only '-' despite these values being present in a key entry.

Steps to reproduce the behaviour

  1. Menu "Tools" -> "Preferences" -> tab "Columns to Display".
  2. Check the boxes "Subject Key Identifier" and "Authority Key Identifier", click "OK"
  3. Menu "Tools" -> "Generate Key Pair" -> default "Algoritm Selection"
  4. Default "Validity", create "Name" of your choice
  5. Click "Add Extensions", click the Green '+' button "Add an Extension", select "Authority Key Identifier", click "OK"
  6. Click the key button "Edit key Identifier", select "160-bit Hash", click "OK", click "OK" again.
  7. Click "Add Extensions", click the Green '+' button "Add an Extension", select "Subject Key Identifier", click "OK"
  8. Click the key button "Edit key Identifier", select "160-bit Hash", click OK, click "OK" again.
  9. Click "OK", accept default alias, select a password.
  10. The new key entry is shown, but with a '-' character in the AKI and SKI columns.

Expected behavior That the value of — or a summary of — the AKI and SKI respectively should be shown.

Screenshots image

Environment