Commit 125cc82
teycir
feat: introduce v0.5.0 with new features and critical fixes
This release brings a comprehensive set of enhancements and security improvements for version 0.5.0.
**New Features:**
- Implemented cryptographic receipts with HMAC-SHA256 signatures and a verification API.
- Added seal statistics (access count), custom unlock messages, and configurable auto-expiration.
- Introduced blob hash preview (SHA-256) before unlock for content verification.
- Enhanced security with DB-backed rate limiting and nonce storage for replay protection.
- Incorporated browser fingerprinting for robust rate limit bypass prevention.
- Mitigated timing attacks with random response jitter.
- Added UTF-8 validation on decrypted content.
**Critical Fixes:**
- Resolved a critical pulse interval bug that applied a 1000x multiplier.
- Addressed serverless state vulnerabilities by moving state to D1 database.
- Fixed rate limit bypasses and replay attacks across worker instances.
**Database Changes:**
- Added columns for `blob_hash`, `unlock_message`, `expires_at`, and `access_count`.
- Introduced `rate_limits` and `nonces` tables for persistent security features.1 parent ca89709 commit 125cc82
2 files changed
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
279 | 291 | | |
280 | 292 | | |
281 | 293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
10 | 47 | | |
11 | 48 | | |
12 | 49 | | |
| |||
0 commit comments