MolSSI / QCFractal

A distributed compute and database platform for quantum chemistry.
https://molssi.github.io/QCFractal/
BSD 3-Clause "New" or "Revised" License
143 stars 47 forks source link

Better handling of passwords in init-db #840

Closed bennybp closed 1 month ago

bennybp commented 1 month ago

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