Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2767

GROUPER_MORPHSTRING_ENCRYPT_KEY_FILE does not read morph string

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.5.28
    • 2.5.27
    • container
    • None

    Description

      This works:

      docker run \
          -d \
          --network=host \
          --name grouper-ui \
          -v /home/centos/database.password:/tmp/database.password \
          -v /home/centos/morph:/tmp/morph \
          -e GROUPER_DATABASE_URL='jdbc:mysql://localhost:3306/grouper?CharSet=utf8&useUnicode=true&characterEncoding=utf8' \
          -e GROUPER_DATABASE_USERNAME=root \
          -e GROUPER_DATABASE_PASSWORD='I1Aqb7+VRapTkxtpvfbom9IC5ZPA6xQFM2Ocq8+bXEQ=' \
          -e GROUPER_AUTO_DDL_UPTOVERSION='2.5.*' \
          -e GROUPER_MORPHSTRING_ENCRYPT_KEY='995As3W6uaqWJXVGxb2C' \
          -e GROUPER_UI=true \
          -e GROUPER_UI_GROUPER_AUTH=true \
          -e RUN_APACHE=true \
          -e RUN_SHIB_SP=false \
          -e RUN_TOMEE=true \
          -e SELF_SIGNED_CERT=true \
          -e ENV=DEV \
          -e USERTOKEN=None \
          i2incommon/grouper:2.5.27 \
          ui

       

      But changing GROUPER_MORPHSTRING_ENCRYPT_KEY to GROUPER_MORPHSTRING_ENCRYPT_KEY_FILE and pointing at a file that contains the morph string does not work as documented. So this does NOT work:

      docker run \
          -d \
          --network=host \
          --name grouper-ui \
          -v /home/centos/database.password:/tmp/database.password \
          -v /home/centos/morph:/tmp/morph \
          -e GROUPER_DATABASE_URL='jdbc:mysql://localhost:3306/grouper?CharSet=utf8&useUnicode=true&characterEncoding=utf8' \
          -e GROUPER_DATABASE_USERNAME=root \
          -e GROUPER_DATABASE_PASSWORD='I1Aqb7+VRapTkxtpvfbom9IC5ZPA6xQFM2Ocq8+bXEQ=' \
          -e GROUPER_AUTO_DDL_UPTOVERSION='2.5.*' \
          -e GROUPER_MORPHSTRING_ENCRYPT_KEY_FILE=/tmp/morph \
          -e GROUPER_UI=true \
          -e GROUPER_UI_GROUPER_AUTH=true \
          -e RUN_APACHE=true \
          -e RUN_SHIB_SP=false \
          -e RUN_TOMEE=true \
          -e SELF_SIGNED_CERT=true \
          -e ENV=DEV \
          -e USERTOKEN=None \
          i2incommon/grouper:2.5.27 \
          ui
       

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            scott.koranda.3@at.internet2.edu Scott Koranda SCG (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: