aboutsummaryrefslogtreecommitdiffstats
path: root/config.ts.sample
Commit message (Collapse)AuthorAgeFilesLines
* auth: fail closed on adminpass, scrub sample secrets (S3)Adam Soltys2026-08-071-4/+13
| | | | | | | | | | | | | | | | The master-password path (isAdmin = password === config.adminpass) logs in as any user, skipping password, 2FA, and captcha. Worse, when adminpass is unset an omitted password field made undefined === undefined true, authenticating as anyone. Require both the configured value and the supplied password to be non-empty and match exactly, across every adminpass comparison (login, recaptcha bypass, support email, freeze). Also scrub config.ts.sample: the sample shipped a working-looking JWT secret, two server nsec keys, and adminpass "pwa". Replace with fail-closed placeholders and regenerate instructions. Rotate any deployment that ever shipped the sample values. Co-Authored-By: Claude Opus 4.8 <[email protected]>
* rotate server keyAdam Soltys2025-09-291-0/+1
|
* catch errors in pay_invoiceAdam Soltys2025-09-291-1/+1
|
* clb socketAdam Soltys2025-08-211-0/+1
|
* square envAdam Soltys2025-08-211-0/+2
|
* square sample configAdam Soltys2025-08-211-0/+6
|
* Initial server setup fixesndungudedan2024-10-021-1/+1
|
* rm jimpAdam Soltys2024-09-081-2/+2
|
* add mint to sample configAdam Soltys2024-09-051-0/+1
|
* update sample configAdam Soltys2024-09-051-2/+3
|
* fx endpointAdam Soltys2024-09-041-0/+35