Skip to content

Allow passwordless postgres #1

Description

@siccegge

Hi!

Would be cool if one can use simplesamlphp with postgres' peer authentication (i.e. simplesamlphp is authenticated to access the database due to being run by the correct unix account on the system).

This avoids creating passwords that are then stored plain on the server where they don't add any extra security but still (somewhat) interfere with e.g. configuration management.

As far as I can tell the only change needed is allow having username and password empty when connecting to the database.

https://www.postgresql.org/docs/10/auth-methods.html#AUTH-PEER

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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