Bug 2160078 - rust-pem-2.0.1 is available
Summary: rust-pem-2.0.1 is available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-pem
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rust SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-11 13:52 UTC by Upstream Release Monitoring
Modified: 2023-07-04 08:29 UTC (History)
4 users (show)

Fixed In Version: rust-pem-2.0.1-1.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-22 18:18:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Upstream Release Monitoring 2023-01-11 13:52:44 UTC
Releases retrieved: 1.1.1
Upstream release that is considered latest: 1.1.1
Current version/release in rawhide: 1.1.0-1.fc38
URL: https://crates.io/crates/pem

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/109573/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/rust-pem

Comment 1 Upstream Release Monitoring 2023-03-21 14:27:28 UTC
Releases retrieved: 2.0.0
Upstream release that is considered latest: 2.0.0
Current version/release in rawhide: 1.1.0-2.fc38
URL: https://crates.io/crates/pem

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/109573/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/rust-pem

Comment 2 Christian Heimes 2023-03-27 04:47:22 UTC
Please package rust-pem 1.1.1 for rawhide. One test case of python-cryptography fails with pem 1.1.0.

=================================== FAILURES ===================================
_______________ TestRSACertificate.test_load_with_other_sections _______________
self = <tests.x509.test_x509.TestRSACertificate object at 0x7fd9a41bbc10>
backend = <OpenSSLBackend(version: OpenSSL 3.0.8 7 Feb 2023, FIPS: False, Legacy: True)>
    def test_load_with_other_sections(self, backend):
        cert = _load_cert(
            os.path.join("x509", "cryptography.io.with_garbage.pem"),
            x509.load_pem_x509_certificate,
        )
        assert isinstance(cert, x509.Certificate)
    
>       cert = _load_cert(
            os.path.join("x509", "cryptography.io.with_headers.pem"),
            x509.load_pem_x509_certificate,
        )
tests/x509/test_x509.py:786: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/x509/test_x509.py:79: in _load_cert
    return load_vectors_from_file(
tests/utils.py:46: in load_vectors_from_file
    return loader(vector_file)
tests/x509/test_x509.py:81: in <lambda>
    loader=lambda pemfile: loader(pemfile.read()),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
data = b'-----BEGIN CERTIFICATE-----\nMIIFvTCCBKWgAwIBAgICPyAwDQYJKoZIhvcNAQELBQAwRzELMAkGA1UEBhMCVVMx\nFjAUBgNVBAoTDUdlb1Ryd...Ktk8P7MoWecneVTkO\n9WRU42KnNFSxK8C+cmFNxN1/97pWEQnXEV/32S/O5myly+kJPev2MsXtIFpqN1mE\n-----END RSA PRIVATE KEY-----\n\n'
backend = None
    def load_pem_x509_certificate(
        data: bytes, backend: typing.Any = None
    ) -> Certificate:
>       return rust_x509.load_pem_x509_certificate(data)
E       ValueError: Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidByte(4, 45))
../../BUILDROOT/python-cryptography-40.0.1-1.fc39.x86_64/usr/lib64/python3.11/site-packages/cryptography/x509/base.py:572: ValueError
=============================== warnings summary ===============================

Comment 3 Fabio Valentini 2023-03-27 08:34:26 UTC
Updates to v1.1.1 are now in progress, rawhide is already stable:
https://bodhi.fedoraproject.org/updates/FEDORA-2023-ff25935ad8

Comment 4 Upstream Release Monitoring 2023-04-05 16:26:19 UTC
Releases retrieved: 2.0.1
Upstream release that is considered latest: 2.0.1
Current version/release in rawhide: 1.1.1-1.fc39
URL: https://crates.io/crates/pem

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/109573/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/rust-pem

Comment 5 Fedora Update System 2023-06-22 18:16:25 UTC
FEDORA-2023-6d749cb7c2 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6d749cb7c2

Comment 6 Fedora Update System 2023-06-22 18:18:05 UTC
FEDORA-2023-6d749cb7c2 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.