Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1497

Support Modular Crypt Format (MCF) password in Bcrypt mapper

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • 1.9.0.Final, 2.0.0.Alpha5
    • 1.1.7.Final
    • Passwords
    • None

      Currently BCrypt mapper for DB realm does not support MCF format passwords (which does not require explicit salt or iterations):

      17:42:28,328 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 3) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "elytron"),
          ("jdbc-realm" => "DatabaseRealm")
      ]) - failure description: "WFLYCTL0155: 'salt-index' may not be null"
      

      Support should be added to support MCF password so only single column needed in DB.

      Logic:

      if (password && !salt && !iterations)
         assume MCF format password
      else if (password && salt && iterations)
        assume BCrypt (b64) password, etc
      else
        error
      

              darran.lofthouse@redhat.com Darran Lofthouse
              tstiemerling@blackberry.com Tom Stiemerling (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: