test: test_revocation_mode_soft failing due to expired cert
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 115
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
Similar to the issue fixed in fc82b7975f61fc1b2d1cf7ac77b2e4b2964aedb1, the revocation_mode tests are once again failing:
======================================================================
ERROR: test_revocation_mode_soft (tests.test_validate.ValidateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/michael/certvalidator/tests/test_validate.py", line 85, in test_revocation_mode_soft
validate_path(context, path)
File "/Users/michael/certvalidator/tests/../certvalidator/validate.py", line 50, in validate_path
return _validate_path(validation_context, path)
File "/Users/michael/certvalidator/tests/../certvalidator/validate.py", line 358, in _validate_path
raise PathValidationError(pretty_message(
certvalidator.errors.PathValidationError: The path could not be validated because the end-entity certificate expired 2022-07-27 12:00:00Z
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The failure is reported in tests/test_validate.py, in test_revocation_mode_soft. Start by comparing the test setup with commit fc82b7975f61fc1b2d1cf7ac77b2e4b2964aedb1 and identify the certificate that expired on 2022-07-27. Run the focused test after addressing that expired test data, and consider it done when the test passes while still exercising soft revocation mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100