django-mfa3
django-mfa3 copied to clipboard
Better test concept
Currently there are no tests for this library. This is because it is complicated:
- I want to test the glue code, not the pieces that are glued together.
- FIDO2 keys are hardware device with a physical button which are intentionally hard to automate.
- The most important issue is security, which typically manifests in non-obvious request patterns.
Integration tests for TOTP would be relatively simple. But that would only address the first issue. The third issue could maybe be addressed by fuzzing. But overall I do not have a good idea yet.