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

Better handling of passwords in init-db #840

Merged
merged 1 commit into from
May 22, 2024
Merged

Better handling of passwords in init-db #840

merged 1 commit into from
May 22, 2024

Conversation

bennybp
Copy link
Contributor

@bennybp bennybp commented May 21, 2024

Description

Before, the database password was written to a temporary file to be read by init-db. This PR fixes that.

This PR also makes database passwords mandatory in the configuration file.

This is only really relevant if own=True. If you have an existing db initialized with the previous code, you will need to set the username to the username of your computer, and the password to any arbitrary string. Or backup/restore.

Status

  • Code base linted
  • Ready to go

@bennybp bennybp force-pushed the pgpass branch 4 times, most recently from 4e5a4d3 to 0ea77a3 Compare May 21, 2024 20:38
@bennybp bennybp merged commit 3ead276 into main May 22, 2024
17 of 19 checks passed
@bennybp bennybp deleted the pgpass branch May 22, 2024 00:19
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

Successfully merging this pull request may close these issues.

1 participant