You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.
To fix a recent regression in fidesops, we need the Base64 encoding pieces ethyca/fidesops#700 recently removed from Fidesops ethyca/fidesops#749 to be added to Fideslib.
For example:
classUserCreate(UserUpdate):
"""Data required to create a FidesUser"""username: strpassword: str---
@validator("password")
defvalidate_password(cls, password: str) ->str:
"""Add some password requirements"""decoded_password=b64_str_to_str(password) <---***iflen(decoded_password) <8:
raiseValueError("Password must have at least eight characters.")
ifre.search("[0-9]", decoded_password) isNone:
raiseValueError("Password must have at least one number.")
ifre.search("[A-Z]", decoded_password) isNone:
raiseValueError("Password must have at least one capital letter.")
ifre.search("[a-z]", decoded_password) isNone:
raiseValueError("Password must have at least one lowercase letter.")
ifre.search(r"[\W]", decoded_password) isNone:
raiseValueError("Password must have at least one symbol.")
returndecoded_password
Steps to Reproduce
Do this...
Then This...
Expected behavior
A description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Version:
OS:
Python Version:
Docker Version:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Bug Description
To fix a recent regression in fidesops, we need the Base64 encoding pieces ethyca/fidesops#700 recently removed from Fidesops ethyca/fidesops#749 to be added to Fideslib.
For example:
Steps to Reproduce
Expected behavior
A description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: