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

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 7.1.4, 8.2.1, 7.4.5, 8.3
    • Fix Version/s: 8.4-rc-1, 8.2.2, 7.4.6
    • Component/s: Crypto
    • Labels:
      None
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Denis Gervalle
            Reporter:
            Denis Gervalle
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: