mirror of
https://github.com/PR0M3TH3AN/bitlogin.git
synced 2026-10-27 08:31:21 +00:00
Diagnosed live: after the CSP fix deployed, a client's SW precached the new release but cryptoWorker.js revalidated to a 304 (bytes unchanged across the deploy) and kept its OLD stored headers -- including the pre-'wasm-unsafe-eval' Content-Security-Policy. A dedicated worker runs under its own script response's CSP, so Argon2id still could not compile even though every page and the origin server carried the fixed policy. cache:'reload' forces full network fetches during install, so cached responses always carry the headers current at install time. The sw.js byte change also makes every installed client -- poisoned ones included -- reinstall into the same-named cache, overwriting the stale-header entries. Co-Authored-By: Claude Fable 5 <[email protected]>