pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ca-certificates build error
> pkgsrc-git updated today, python version 3.10, netbsd 9.2 amd64:
>
> Traceback (most recent call last):
> File
> "/usr/pkgsrc/work/security/ca-certificates/work/ca-certificates-20211016/mozilla/certdata2pem.py",
> line 125, in <module>
> cert = x509.load_der_x509_certificate(obj['CKA_VALUE'])
> File
> "/usr/pkg/lib/python3.10/site-packages/cryptography/x509/base.py",
> line 521, in load_der_x509_certificate
> return rust_x509.load_der_x509_certificate(data)
> TypeError: argument 'data': 'bytearray' object cannot be converted to
> 'PyBytes'
> *** [all] Error code 1
>
> Please advise. This is a critical package.
This bug report has a plausible-looking patch.
https://linux.debian.bugs.dist.narkive.com/RaQXboJr/bug-1008244-ca-certificates-certdata2pem-py-doesn-t-work-with-cryptography-3-0
It may still need to be reported to the proper upstream.
Gary Duzan
Home |
Main Index |
Thread Index |
Old Index