Add Hypothesis fuzz test for EncryptionManager

This commit is contained in:
thePR0M3TH3AN
2025-07-13 13:51:15 -04:00
parent 6d092d08ba
commit f1018a5c2b
2 changed files with 68 additions and 0 deletions

View File

@@ -423,6 +423,11 @@ pip install -r src/requirements.txt
pytest -vv
```
`test_fuzz_key_derivation.py` uses Hypothesis to generate random passwords,
seeds and configuration data. It performs round-trip encryption tests with the
`EncryptionManager` to catch edge cases automatically. These fuzz tests run in
CI alongside the rest of the suite.
### Exploring Nostr Index Size Limits
`test_nostr_index_size.py` demonstrates how SeedPass rotates snapshots after too many delta events.