Skip to content

testClassDBRolesMgmt.sql relies on MD5 password hashing (W) #213

@wildtayne

Description

@wildtayne

checkEncryptedPwd() in testClassDBRolesMgmt.sql only checks for md5 passwords. If an instance is configured to use scram-sha-256, the test will fail.

EDIT: Other parts for testClassDBRolesMgmt.sql also seem to fail when using scram-sha-256().

ERROR:  Invalid argument: server role "<role>" already exists
CONTEXT:  PL/pgSQL function createrole(idnamedomain,character varying,boolean,idnamedomain,character varying,boolean,boolean,character varying)

Is thrown on the following lines (does not occur when password_encryption = `md5'):

  • 682
  • 783
  • 788
  • 884
  • 889

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions