diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-30 09:09:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-30 09:09:06 +0300 |
commit | e6f10cb4b38644d88a2e0016af206d2eb68a25d8 (patch) | |
tree | da8d9a962738ac64153cb42c5c518ac7080ed56d /app/models/x509_issuer.rb | |
parent | eddf35996244adeeac6edff5df82efe2167dff9c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/x509_issuer.rb')
-rw-r--r-- | app/models/x509_issuer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/x509_issuer.rb b/app/models/x509_issuer.rb index 4b75e38bbde..81491d8e507 100644 --- a/app/models/x509_issuer.rb +++ b/app/models/x509_issuer.rb @@ -4,7 +4,7 @@ class X509Issuer < ApplicationRecord has_many :x509_certificates, inverse_of: 'x509_issuer' # rfc 5280 - 4.2.1.1 Authority Key Identifier - validates :subject_key_identifier, presence: true, format: { with: /\A(\h{2}:){19}\h{2}\z/ } + validates :subject_key_identifier, presence: true, format: { with: Gitlab::Regex.x509_subject_key_identifier_regex } # rfc 5280 - 4.1.2.4 Issuer validates :subject, presence: true # rfc 5280 - 4.2.1.13 CRL Distribution Points |