Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#50634 - [ca-certificates-mozilla] use python3 for cacertdata2pem.py

Attached to Project: Arch Linux
Opened by userwithuid (userwithuid) - Friday, 02 September 2016, 21:06 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 09 November 2018, 21:49 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Attached is a python3 port of cacertdata2pem.py (script arch uses to extract certs from mozilla's certdata.txt file). It's mostly 2to3 stuff but I had to manually fix some py2-bytestring related issues.

I have verified that the output is identical to the python2 version for the current nss version (3.26).

Diff is attached as well.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Friday, 09 November 2018, 21:49 GMT
Reason for closing:  Implemented
Additional comments about closing:  nss 3.40-2
Comment by Jan Alexander Steffens (heftig) - Tuesday, 04 October 2016, 07:23 GMT
Thanks, but I'm not sure we want this. IIRC the current script was copied unmodified from Fedora, and leaving it that way makes taking updates easier.
Comment by userwithuid (userwithuid) - Friday, 09 November 2018, 09:14 GMT
@heftig: i just noticed that upstream has a python3 certdata2pem.py now, you can pull it and close this bug :-)

https://src.fedoraproject.org/rpms/ca-certificates
Comment by Jan Alexander Steffens (heftig) - Friday, 09 November 2018, 21:48 GMT
Yep, thanks.

Loading...