diff --git a/spid_compliant_certificates/__init__.py b/spid_compliant_certificates/__init__.py index aa35173..c930795 100644 --- a/spid_compliant_certificates/__init__.py +++ b/spid_compliant_certificates/__init__.py @@ -28,7 +28,7 @@ _min = 5 # micro version -_mic = 4 +_mic = 5 # release level (alpha, beta, rc, final) _rel = 'final' diff --git a/spid_compliant_certificates/validator/checks/subject_dn.py b/spid_compliant_certificates/validator/checks/subject_dn.py index d8ac9e5..1f128a4 100644 --- a/spid_compliant_certificates/validator/checks/subject_dn.py +++ b/spid_compliant_certificates/validator/checks/subject_dn.py @@ -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})$'