Commit b100ca1
docs: add comprehensive encryption architecture documentation (#50)
- Create ENCRYPTION.md with detailed architecture documentation
- Architecture overview with mermaid diagrams
- Security model and trust boundaries
- Implementation details with code examples
- Usage guide for developers
- Threat model analysis
- Cryptographic specifications
- Testing guidelines
- Create SECURITY.md with security best practices
- Developer guidelines (key management, error handling, etc.)
- User guidelines (URL sharing, PIN selection, etc.)
- Incident response procedures
- Security checklist for releases
- Create R2_DIRECT_ACCESS.md for future optimization
- Direct browser-to-R2 upload/download architecture
- Presigned URL implementation guide
- Security considerations for direct access
- Migration strategy from Worker proxy
- Enhance inline code documentation
- Add detailed module documentation to crypto.ts
- Add security properties documentation to auth.ts
- Add binary format structure to binary.ts
- Add usage flow documentation to crypto-utils.ts
- Update README.md to reference new documentation
Closes #41
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent 14aa5e8 commit b100ca1
File tree
9 files changed
+1387
-4
lines changed- docs
- lib
9 files changed
+1387
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| |||
0 commit comments