Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-10810

puppetlabs-postgresql: support generating SCRAM-SHA-256 passwords with postgresql::postgresql_password

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: postgresql
    • Labels:
      None
    • Template:
    • QA Risk Assessment:
      Needs Assessment

      Description

      At the moment, postgresql::postgresql_password only supports generating md5 hashed passwords, but since version 10, PostgreSQL supports another “hash” type called SCRAM-SHA256.

      Generating such a hash seems pretty easy and a python implementation can be found here: Methods to create password verifiers for PostgreSQL, however I’m not skilled enough with Ruby to work on this myself.

      Another way of implementing this could be to avoid relying on a Puppet function and directly send the password to Postgres and let it do the hashing.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Arcaik Arcaik
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support