Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-14769

Update the encryption/decryption algorithm for JWT to a symmetric algorithm

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0
    • Fix Version/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      https://stash.forgerock.org/projects/COMMONS/repos/forgerock-commons/browse/json-web-token recommends symmetric keys for encryption/decryption. The JweAlgorithm used by IDM is defined in TokenHandlerService#getJwtTokenHandler. It is currently an asymmetric cipher: JweAlgorithm.RSA_OAEP_256. The likely replacement is JweAlgorithm.ECDH_ES. Any choice should be confirmed with Neil Madden. Switching from asymmetric to symmetric encryption will likely result in a performance boost.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brmiller Brendan Miller
                Reporter:
                dhogan Dirk Hogan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: