Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1087

Storing crypto keys to the X509 file system key store could fails due to inappropriate chars in filenames

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 8.4-rc-1, 8.2.2, 7.4.6
    • 7.1.4, 8.2.1, 7.4.5, 8.3
    • Crypto
    • None
    • N/A
    • N/A

    Description

      Naming of keystore keys is based on the subject identifier encoded in base64. This is nice but base64 is not appropriate for filenames (contains slashes, and is case sensitive).
      So, to avoid spurious problem while storing certain keys, I will change the naming to use Hex encoding.
      This is a breaking change that will make all existing key unreadable, but since nobody has ever reported the problem, I doubt anybody is using it, so let change it now, once for all.
      If you were using it, please backup your keys to a wiki store before changing, and restore them back later, after upgrading to this new storage.

      Attachments

        Activity

          People

            softec Denis Gervalle
            softec Denis Gervalle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: