Skip to content

Commit

Permalink
Changed PUB_SECTOR_PATTERN to fix validation on IPA code
Browse files Browse the repository at this point in the history
  • Loading branch information
trinko authored Oct 12, 2023
1 parent 199c2e5 commit 1f2b7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spid_compliant_certificates/validator/checks/subject_dn.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
x509.OID_SURNAME,
]

PUB_SECTOR_PATTERN = r'^PA:IT-\S{1,11}$'
PUB_SECTOR_PATTERN = r'^PA:IT-\S{1,16}$'
PRI_SECTOR_PATTERN = r'^(CF:IT-[a-zA-Z0-9]{16}|VATIT-\d{11})$'


Expand Down

0 comments on commit 1f2b7cd

Please sign in to comment.