forked from claw/flaskpaste
add comprehensive MIME detection tests (50 tests)
Cover all 42 magic byte signatures: - Images: BMP, TIFF, ICO - Video: MP4, WebM, FLV - Audio: MP3, FLAC, OGG - Documents: MS Office OLE - Executables: PE, ELF, Mach-O, WASM - Archives: BZIP2, XZ, ZSTD, LZ4, 7z, RAR - Data: SQLite - Edge cases: empty, short, boundary tests Also adds missing Mach-O 32-bit little-endian signature.
This commit is contained in:
@@ -29,7 +29,7 @@ FlaskPaste v1.5.0 is deployed with comprehensive security hardening and abuse pr
|
||||
- CLI with list, search, update, export commands
|
||||
- Public certificate registration (PoW-protected)
|
||||
- CLI register command for certificate enrollment
|
||||
- Comprehensive test suite (337 tests)
|
||||
- Comprehensive test suite (356 tests)
|
||||
- Complete security pentest remediation (15 items)
|
||||
- PKI audit logging (certificate lifecycle events)
|
||||
- Request duration metrics (Prometheus histogram)
|
||||
|
||||
Reference in New Issue
Block a user