Sanic-security

Latest version: v1.14.1

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 14 of 33

0.10.9.5

+ Authentication session is now validated before account during an authentication attempt.
+ Account verification blueprint endpoint will now request a new two-step session if the current two-step session is invalid or expired.
+ An `InvalidError` will now be raised if the maximum amount of challenge attempts have been reached in the verification session.
+ Configurable security cache path in `security.ini`.
+ Documentation revisions.

0.10.9.4

+ Account verification runtime error fix.
+ Optional two-step session parameter in the `verify_account` method.
+ Info and warning logs.
+ Documentation revisions.

0.10.9.3

+ Tortoise configuration improvement.
+ Fixed session validation raising error if `expiration_date` is null.
+ Documentation revision.

0.10.9.2

+ Fixed `SecurityError` not being caught by Sanic's error handling.
+ Fixed login not working if an account is being passed into the method.
+ Test server and unit test improvements.

0.10.9.1

+ Fixed account retrieval error handling.
+ RFC 5322 email regex check.
+ Unit test improvements.
+ Documentation revisions.

0.10.9.0

+ Test server and unit test client completely rewritten to provide more coverage.
+ Validation module has been replaced with a `validate()` method found on all models.
+ `allow_unverified` optional parameter removed from verification.
+ Fixed email check on registration.
+ An error will now be raised for accounts attempting to verify themselves when already verified.
+ Removed unnecessarily exceptions.
+ Documentation revisions.
+ Location crosschecking occurs during code crosschecking.

Page 14 of 33

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.