Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.3-rc-1
    • Fix Version/s: 5.4
    • Component/s: Crypto
    • Labels:
      None
    • Difficulty:
      Hard
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Complete rework of the existing crypto API to provide an extensible cryptographic API using components to progressively support the large choice of cryptographic algorithms.

      This new API is made to be independent of the JCA infrastructure, and does not require the registration of a security provider. It does not suffer of any limitation of key sizes under a security managed configuration, and it should be compatible with any JVM, even those having limited support of the JCA.

      This new API does not expose any types of the underlying implementation and allow mixing implementation of different crypto libraries using the ASN.1 encoded representations as a common exchange format. Currently, the implementation is mainly based on the latest Bouncy Castle API, using 2.x technics, including some optimization between BC based components to avoid useless conversions.

      It is a work in progress, that should be improved overtime, based on our needs. It aims to completely replace the existing crypto API, that is moving to a legacy package. However, to avoid this legacy API to trigger the registration of the Bouncy Castle security provider, this one has been reworked not to do so. This could cause some incompatibilities with existing installation that were expecting XWiki to register that provider.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: