Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passwordless postgres #1

Open
siccegge opened this issue Mar 1, 2020 · 1 comment
Open

Allow passwordless postgres #1

siccegge opened this issue Mar 1, 2020 · 1 comment

Comments

@siccegge
Copy link

siccegge commented Mar 1, 2020

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

@tvdijen
Copy link
Member

tvdijen commented Apr 28, 2024

Hi @siccegge ! I'm sorry we never responded to this.. What exactly is the problem here because, looking at the code, it's perfectly possible to leave the password empty in the configuration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants