Axel Uhl
c37c5f5502
bug6312: allow operators to set the initial admin password via SAILING_ADMIN_INITIAL_PASSWORD
...
When a fresh instance starts with an empty security store (one that does
not replicate its security service from a master), initEmptyStore() creates
the default "admin" user. Until now this always used the well-known password
"admin", created the account without enforcing a strong password, and logged
the password in cleartext.
Operators can now set the SAILING_ADMIN_INITIAL_PASSWORD environment variable
to supply the initial admin password. When set to a non-blank value, that
value is used and a strong password is enforced; the password value is never
logged. When unset, the previous "admin" default is kept for backward
compatibility (test / docker-deploy / CI) but a security warning is logged
recommending the variable be set, and noting that future versions may require
it. The cleartext password is no longer logged in either case.
This is opt-in and non-breaking; forcing the variable is left to a later
change after a deprecation period.
Assisted-By: Claude (Opus)
2026-10-04 23:00:56 +02:00
..
2026-07-11 18:29:37 +02:00
2026-07-11 18:29:37 +02:00
2025-10-31 18:33:11 +01:00
2025-11-17 11:05:38 +01:00
2026-01-16 13:09:37 +01:00
2026-01-16 13:09:37 +01:00
2025-12-04 22:10:41 +01:00
2025-07-07 11:33:18 +02:00
2026-04-29 15:58:06 +02:00
2026-03-05 17:21:54 +01:00
2025-03-13 01:20:50 +01:00
2026-04-06 23:34:05 +02:00
2025-07-07 11:33:18 +02:00
2026-09-23 15:02:22 +02:00
2026-09-22 23:18:13 +02:00
2026-03-03 17:30:56 +01:00
2026-03-03 17:30:56 +01:00
2026-03-03 17:30:56 +01:00
2026-08-28 11:16:13 +02:00
2026-10-02 15:40:14 +02:00
2026-03-03 17:30:56 +01:00
2026-09-23 00:56:51 +02:00
2026-03-03 17:30:56 +01:00
2026-03-03 17:30:56 +01:00
2026-03-03 17:30:56 +01:00
2026-09-22 23:18:13 +02:00
2026-03-05 17:21:54 +01:00
2025-10-13 13:33:10 +02:00
2025-07-07 11:33:18 +02:00
2026-06-29 13:22:14 +02:00
2026-06-15 17:55:19 +02:00
2026-03-03 17:30:56 +01:00
2026-07-02 11:09:09 +02:00
2026-04-06 23:34:05 +02:00
2026-03-03 17:30:56 +01:00
2026-07-07 18:17:48 +02:00
2026-04-14 23:53:52 +02:00
2025-07-07 11:33:18 +02:00
2026-09-22 23:18:13 +02:00
2026-09-22 23:18:13 +02:00
2026-08-28 11:04:17 +02:00
2025-10-24 09:53:33 +02:00
2026-03-03 17:30:56 +01:00
2026-03-07 22:45:42 +01:00
2026-06-30 13:50:12 +02:00
2026-10-02 15:40:14 +02:00
2026-09-28 21:59:02 +02:00
2025-11-03 17:56:58 +01:00
2026-03-03 17:30:56 +01:00
2025-07-07 11:33:18 +02:00
2026-03-27 10:29:49 +01:00
2026-03-03 17:30:56 +01:00
2026-04-30 15:22:22 +00:00
2026-08-24 14:06:14 +02:00
2025-07-07 11:33:18 +02:00
2026-04-06 23:34:05 +02:00
2026-04-06 23:34:05 +02:00
2025-08-13 17:08:52 +02:00
2023-10-09 18:00:50 +02:00
2025-07-07 11:33:18 +02:00
2026-03-03 17:30:56 +01:00
2026-03-03 17:30:56 +01:00
2026-03-03 17:30:56 +01:00
2026-08-28 11:04:17 +02:00
2026-10-01 17:23:01 +02:00
2026-03-05 17:21:54 +01:00
2026-09-22 23:18:13 +02:00
2025-01-14 14:32:09 +01:00
2025-07-07 11:33:18 +02:00
2026-09-28 17:22:09 +02:00
2026-09-28 16:35:16 +02:00
2026-09-14 23:30:20 +02:00
2026-09-14 23:30:20 +02:00
2026-09-28 16:35:16 +02:00
2026-03-25 23:00:52 +01:00
2025-07-07 11:33:18 +02:00
2026-06-21 11:02:12 +02:00
2026-03-03 17:30:56 +01:00
2025-07-07 11:33:18 +02:00
2026-08-28 11:04:17 +02:00
2026-03-03 17:30:56 +01:00
2026-03-03 17:30:56 +01:00
2026-03-11 23:13:26 +01:00
2026-03-20 10:13:08 +01:00
2025-07-07 11:33:18 +02:00
2025-07-07 11:33:18 +02:00
2025-07-07 11:33:18 +02:00
2026-09-24 14:50:37 +02:00
2026-10-01 17:23:01 +02:00
2026-09-23 00:31:10 +02:00
2026-09-14 23:30:19 +02:00
2026-09-14 23:30:20 +02:00
2026-03-20 10:13:08 +01:00
2026-09-14 23:30:20 +02:00
2026-03-05 17:21:54 +01:00
2026-03-05 17:21:54 +01:00
2026-09-22 21:50:49 +02:00
2026-07-22 08:52:59 +02:00
2026-09-22 23:18:13 +02:00
2025-08-14 15:45:24 +02:00
2026-03-03 17:30:56 +01:00
2026-08-31 14:52:44 +02:00
2026-03-03 17:30:56 +01:00
2026-03-03 17:30:56 +01:00
2026-03-05 17:21:54 +01:00
2026-08-28 11:04:17 +02:00
2026-03-03 17:30:56 +01:00
2026-07-14 10:34:31 +02:00
2026-03-18 16:55:23 +01:00
2025-07-07 11:33:18 +02:00
2026-08-04 13:52:38 +02:00
2026-03-03 17:30:56 +01:00
2026-07-20 19:48:51 +02:00
2026-09-28 23:12:02 +02:00
2025-10-27 23:17:11 +01:00
2025-07-07 11:33:18 +02:00
2025-07-07 11:33:18 +02:00
2026-05-06 15:13:19 +02:00
2026-03-20 10:13:08 +01:00
2026-03-20 10:13:08 +01:00
2026-08-28 19:46:14 +02:00
2026-08-26 02:02:02 +02:00
2025-08-26 16:47:42 +02:00
2026-09-22 23:18:13 +02:00
2026-03-13 09:56:43 +01:00
2026-08-04 13:18:36 +02:00
2026-03-20 10:13:08 +01:00
2026-07-09 11:38:20 +02:00
2026-08-28 11:16:13 +02:00
2025-07-07 11:33:18 +02:00
2025-12-05 11:18:09 +01:00
2026-07-11 18:29:37 +02:00
2026-04-30 15:22:22 +00:00
2025-07-07 11:33:18 +02:00
2026-09-17 11:59:21 +02:00
2026-09-18 19:41:09 +02:00
2026-01-20 10:10:20 +01:00
2026-09-28 17:11:45 +02:00
2026-09-28 17:22:09 +02:00
2026-03-20 10:13:08 +01:00
2026-03-20 10:13:08 +01:00
2026-03-20 10:13:08 +01:00
2026-03-20 10:13:08 +01:00
2026-09-28 17:11:45 +02:00
2026-07-08 23:07:32 +02:00
2026-03-20 10:13:08 +01:00
2026-03-20 10:13:08 +01:00
2026-03-20 10:13:08 +01:00
2026-03-20 10:13:08 +01:00
2025-07-09 09:33:58 +02:00
2025-07-09 09:33:58 +02:00
2026-03-16 00:53:24 +01:00
2026-04-28 14:32:07 +02:00
2025-07-07 11:33:18 +02:00
2026-10-04 23:00:56 +02:00
2026-09-02 11:15:59 +02:00
2026-04-30 15:22:22 +00:00
2026-03-06 14:54:11 +01:00
2025-07-07 11:33:18 +02:00
2026-03-05 17:21:54 +01:00
2026-03-05 17:21:54 +01:00
2026-03-05 17:21:54 +01:00
2026-09-19 00:21:11 +02:00
2025-07-07 11:33:18 +02:00
2026-03-06 14:48:22 +01:00
2026-03-20 10:13:08 +01:00
2025-07-07 11:33:18 +02:00
2026-06-27 09:23:22 +02:00
2025-08-26 16:47:42 +02:00
2026-03-05 17:21:54 +01:00
2026-08-28 11:16:13 +02:00
2026-03-20 10:13:08 +01:00
2025-07-07 11:33:18 +02:00
2026-03-20 10:13:08 +01:00
2026-03-20 10:13:08 +01:00
2026-09-23 15:02:22 +02:00
2026-09-07 13:31:41 +02:00
2026-09-22 21:58:09 +02:00
2026-03-20 10:13:08 +01:00
2026-03-02 21:09:04 +01:00