π Hash API tokens at rest
API tokens are now stored as SHA-256 digests instead of plaintext. A database dump no longer contains working credentials. Existing tokens keep authenticating after upgrade (including Authorization: Bearer and the legacy X-User-Email + X-User-Token headers). Docker installs already run db:migrate on boot, so this is zero-touch there.
Upgrade notes
- Upgrade all app processes together. Older code looks up the plaintext column and would miss hashed rows.
- Rollback: the migration nulls plaintext after backfill. Digests cannot be reversed, so downgrading without a pre-migration backup leaves API tokens unusable. Users would have to regenerate tokens after restoring a backup or staying on the new code.
π Whatβs Changed
- Hash API tokens at rest (#5124)
- Latest Language Strings (#5137)
- Update JavaScript and importmap npm dependencies (#5138)
- Match Latvian Day/Days helper test to translation.io (#5140)
- Work around Chrome 158 rejecting Capybara wildcard storage reset (
f4fb6d6e)
π₯ List of contributors
π₯οΈ Docker Images
Available on Docker Hub:
https://hub.docker.com/r/pglombardo/pwpush
πββοΈ Run This Version
- Point DNS to your server (e.g.
pwpush.example.com). - Download docker-compose.yml or clone the repo.
- In
docker-compose.yml, uncomment and set:TLS_DOMAIN: 'pwpush.example.com'for automatic Letβs Encrypt TLS.
- Run:
docker compose up -dOpen https://pwpush.example.com or alternatively http://your-ip:5100.