Menu

#104 Export to template introduces space between subject alternative names, spaces break the editor

v1.0_(example)
closed-fixed
None
5
2015-08-11
2015-04-14
henrik
No

When exporting a certificate with subject alternative names (SAL) to a template, spaces are introduced after each ",".
Thus
SAL "IP:1.2.3.4,DNS:foo.example.com,DNS:bar.example.com" turns into
SAL "IP:1.2.3.4, DNS:foo.example.com, DNS:bar.example.com".

I don't know if it breaks anything if you immediately use the template to create a Certificate. If you click on the "Edit" button at the right, the Editor will take the space prefixed parts, change their type to "URI", and make the existing type prefix part of the data.

The result looks like this:
SAL "IP:1.2.3.4,URI:DNS:foo.example.com,URI:DNS:bar.example.com".

Discussion

  • Christian Hohnstaedt

    • status: open --> closed-fixed
     
  • Christian Hohnstaedt

    Fixed in XCA 1.3.0

    commit deb319d43c2a023332550c8a7940fa594c77aa78
    Author: Christian Hohnstaedt christian@hohnstaedt.de
    Date: Wed Apr 15 05:47:19 2015 +0200

    SF Bug #104 Export to template introduces spaces
    
    .. between subject alternative names, spaces break the editor
    
    The spaces are not recognized correctly, when editing with
    the v3ext editor.
    It now peoperly removes spaces at the beginning and end
    of each part.