Support passwordless database authentication.
The issue was found during 1.6.0 sanity checks. Source
Another issue with setting up the database on Fedora 36 is how to create database schema with the stork-tool
using the default PostgreSQL pg_hba.conf
file. It uses peer
and ident
authentication methods by default but stork-tool
prompts for the admin password. Leaving password blank causes authentication failures. Setting up postgres password in the database, using the \password
command doesn't seem to resolve the problem until authentication methods are changed to password
in the pg_hba.conf
. The tool should be more friendly with regards to different authentication methods. If nothing else, we should document how to deal with the default database setup like this.