guysoft / LibrePhotosOS

An out of the box Raspberry Pi distro with LibrePhotos installed.
GNU General Public License v3.0
10 stars 1 forks source link

Default secret should be generated on first boot #2

Closed guysoft closed 2 years ago

guysoft commented 2 years ago

A script should run before the docker-compose service, and generate the secret.

The secret is currently hardcoded at: https://github.com/guysoft/LibrePhotosOS/blob/devel/src/modules/librephotosos/filesystem/boot/docker-compose/librephotos/.env#L23

derneuere commented 2 years ago

You can now remove shhhKey. On startup, it will generate a new secret.key in the log folder, if he can't find it.