[Bug 2091915] Review Request: python-certvalidator - Validate X.509 certificates and paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2091915

Orion Poplawski <orion@xxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |fedora-review?
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |orion@xxxxxxxx
             Status|NEW                         |ASSIGNED
                 CC|                            |orion@xxxxxxxx



--- Comment #3 from Orion Poplawski <orion@xxxxxxxx> ---
Package fails to build with lots of test errors, e.g.:

+ python3 -m unittest tests/test_certificate_validator.py
tests/test_ocsp_client.py tests/test_registry.py tests/test_validate.py
EEEEEEE..EE..EEE..EEE.EE.........EEEEEE.EEEEE..E..E.EE.E..E.EEEEE.EE..EEEE...E.EE.EE..EE.EEE..E....E.E.EEEEEE.E...E.E.EE.EEEEE..EEE.E.E.EE..E.EE.EE.EEEE..EE.E..EE...EE.EEE.EE.E..EE.EEEEEEE.EEEEEE.EEEE.EEEEEEEE.EE
======================================================================
ERROR: test_basic_certificate_validator_tls
(tests.test_certificate_validator.CertificateValidatorTests.test_basic_certificate_validator_tls)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/builddir/build/BUILD/certvalidator-0.11.1/tests/test_certificate_validator.py",
line 44, in test_basic_certificate_validator_tls
    path = validator.validate_tls('codexns.io')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/certvalidator-0.11.1/certvalidator/__init__.py",
line 222, in validate_tls
    self._validate_path()
  File "/builddir/build/BUILD/certvalidator-0.11.1/certvalidator/__init__.py",
line 108, in _validate_path
    paths = self._context.certificate_registry.build_paths(self._certificate)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/certvalidator-0.11.1/certvalidator/registry.py",
line 314, in build_paths
    raise PathBuildingError(pretty_message(
certvalidator.errors.PathBuildingError: Unable to build a validation path for
the certificate "Common Name: codexns.io, Organization: Codex Non Sufficit LC,
Locality: Newbury, State/Province: Massachusetts, Country: US, Serial Number:
471714639, Business Category: Private Organization, Incorporation
State/Province: Massachusetts, Incorporation Country: US" - no issuer matching
"Common Name: GeoTrust Primary Certification Authority, Organization: GeoTrust
Inc., Country: US" was found
======================================================================
ERROR: test_basic_certificate_validator_tls_expired
(tests.test_certificate_validator.CertificateValidatorTests.test_basic_certificate_validator_tls_expired)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/builddir/build/BUILD/certvalidator-0.11.1/tests/test_certificate_validator.py",
line 53, in test_basic_certificate_validator_tls_expired
    with self.assertRaisesRegexp(PathValidationError, 'expired'):
         ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'CertificateValidatorTests' object has no attribute
'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

There hasn't been a release in over 7 years, are you sure this is needed?


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2091915

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202091915%23c3
--
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux