Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow 1 to 2 digits for the day of month in certificate dates #1568

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

steiler
Copy link
Collaborator

@steiler steiler commented Aug 31, 2023

Tests are broken, since in the regex that checks the validity dates of certificates, we expect the day of the month to be a 2 digit number. actual it must be {1,2} as visible here with also one or two whitespaces (simplified this to +)

internal-ca lab CA
        Validity
            Not Before: Aug 31 12:16:02 2023 GMT
            Not After : Sep  1 13:16:02 2023 GMT

internal-ca lab CA
        Validity
            Not Before: Aug 31 12:16:02 2023 GMT
            Not After : Sep  1 13:16:02 2023 GMT
@steiler steiler added the bug Something isn't working label Aug 31, 2023
@steiler steiler requested a review from hellt August 31, 2023 12:52
@steiler steiler self-assigned this Aug 31, 2023
@steiler steiler added the test label Aug 31, 2023
@codecov
Copy link

codecov bot commented Aug 31, 2023

Codecov Report

Merging #1568 (ff1ae13) into main (95a3954) will decrease coverage by 0.04%.
Report is 3 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1568      +/-   ##
==========================================
- Coverage   48.62%   48.58%   -0.04%     
==========================================
  Files         132      132              
  Lines       12688    12689       +1     
==========================================
- Hits         6169     6165       -4     
- Misses       5818     5822       +4     
- Partials      701      702       +1     
Files Changed Coverage Δ
clab/authz_keys.go 53.57% <100.00%> (-3.06%) ⬇️

... and 3 files with indirect coverage changes

@steiler steiler merged commit d516f90 into srl-labs:main Aug 31, 2023
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants