Username
|
ceb81fdd7c
|
style: format test files
|
2025-12-22 20:04:46 +01:00 |
|
Username
|
e130e9c84d
|
test: add concurrent submission tests for abuse prevention
|
2025-12-22 19:16:24 +01:00 |
|
Username
|
b7f247d148
|
add tests for size and binary enforcement
|
2025-12-20 17:46:54 +01:00 |
|
Username
|
9da33f786e
|
fix lint issues across codebase
|
2025-12-20 17:20:27 +01:00 |
|
Username
|
7deba711d4
|
entropy: exempt small content from check
Small data has unreliable entropy measurement due to sample size.
MIN_ENTROPY_SIZE (default 256 bytes) sets the threshold.
|
2025-12-20 08:48:13 +01:00 |
|
Username
|
8addf2d9e8
|
add entropy enforcement for optional encryption requirement
Shannon entropy check rejects low-entropy content when MIN_ENTROPY > 0.
Encrypted data ~7.5-8.0 bits/byte, plaintext ~4.0-5.0 bits/byte.
Configurable via FLASKPASTE_MIN_ENTROPY environment variable.
|
2025-12-20 06:57:50 +01:00 |
|
Username
|
202e927918
|
add content-hash dedup for abuse prevention
Throttle repeated submissions of identical content using SHA256 hash
tracking. Configurable via FLASKPASTE_DEDUP_WINDOW and FLASKPASTE_DEDUP_MAX.
|
2025-12-20 03:31:20 +01:00 |
|