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

No multiple Entries in Subject Alternative Name Extension #182

Closed arendvogtlaender closed 5 years ago

arendvogtlaender commented 5 years ago

Hi, this is rather not a hard bug, than a sort of misbehaviour, but nasty anyway ;-)

Describe the bug list of subject alternative names is purged to one when using long dns names

To Reproduce Steps to reproduce the behavior:

  1. start generating a keypair
  2. add extension 'subject alternative name'
  3. enter multiple entries of length host.sub4.sub3.sub2.sub.net in that extension and leave dialog
  4. use edit button to enter the edit dialog of the extension again
  5. -> only one of the entries is left

btw. shorter dns entries are kept. after i added another long name, they seem to be kept even after i deleted them... could be a general problem on the list here.

workaround: when i do not use the edit function to look into the extension again, and then generate the keypair, multiple names are being kept.

Expected behavior all entries of subject alternative name extension show up in the extension editor and are being kept

Screenshots If applicable, add screenshots to help explain your problem. sorry, not applicable right now

Environment

kaikramer commented 5 years ago

Thanks for reporting! I was able to reproduce this problem. Will be fixed in the next release.

kaikramer commented 5 years ago

KSE 5.4.2 will be released in a couple of days. Please check if your problem still exists in 5.4.2 and if so, reopen this ticket.