Skip to content

Commit

Permalink
fix: email with first level domain up to 8 digits
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux committed Dec 14, 2022
1 parent 3c3ef06 commit 823d94e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def readme():
'requests>=2.25.1',
'lxml>=4.6.2',
'Jinja2>=2.11.3',
'spid_compliant_certificates>=0.4.1'
'spid_compliant_certificates>=0.5.3'
# 'sslyze>=4.0.4', # todo
],
)
2 changes: 1 addition & 1 deletion src/spid_sp_test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


BASE_DIR = Path(__file__).resolve().parent
__version__ = "1.2.8"
__version__ = "1.2.9"
__name__ = "spid_sp_test"
logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion src/spid_sp_test/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
DESIRED_CERTIFICATE_LENGHT = 3072 # type: int

NODE_NAME = "urn:oasis:names:tc:SAML:2.0:assertion:Assertion"
EMAIL_REGEXP = r"^(\w|\.|\_|\-)+[@](\w|\_|\-|\.)+[.]\w{2,6}$"
EMAIL_REGEXP = r"^(\w|\.|\_|\-)+[@](\w|\_|\-|\.)+[.]\w{2,8}$"


ISO3166_CODES = [
Expand Down

0 comments on commit 823d94e

Please sign in to comment.