You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(security): resolve critical HKDF salt randomization causing decryption failures
This commit addresses a critical bug where HKDF salt randomization led to decryption failures for some seals by implementing a deterministic zero salt.
Additionally, this commit introduces significant security enhancements:
- Implemented client-side integrity checks for create and decrypt operations to prevent tampering.
- Integrated Cloudflare Turnstile for bot protection on seal creation requests.
- Added a `burnSeal` endpoint and associated service logic to allow permanent deletion of Dead Man's Switch seals.
- Ensured pulse token generation is server-only with HMAC signatures.
- Corrected time check ordering in the seal service to mitigate timing attacks.
- Added authentication to the metrics API endpoint.
- Removed the `/api/debug` endpoint for improved security posture.
0 commit comments