Skip to content

password_encryption cannot be set as allowed by postgres12 #483

Closed
@neiaberau

Description

@neiaberau

postgresql.conf-12.j2:password_encryption = {{ 'on' if postgresql_password_encryption else 'off' }} # md5 or scram-sha-256
postgresql.conf-12.orig:#password_encryption = md5 # md5 or scram-sha-256

if I understand this correct, only on or off can be set, while postgres prefers md5 or scram-sha-256

from https://www.postgresql.org/docs/12/runtime-config-connection.html:
The default value is md5, which stores the password as an MD5 hash (on is also accepted, as alias for md5). Setting this parameter to scram-sha-256 will encrypt the password with SCRAM-SHA-256.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions