cvmfs-contrib / python-cvmfsutils

BSD 3-Clause "New" or "Revised" License
0 stars 6 forks source link

Convert to python3 #29

Closed DrDaveD closed 6 months ago

DrDaveD commented 6 months ago

From the cvmfs source directory run python3 test to run all the tests.

A few of the tests fail on a default-configured EL9 because the libraries think they are verifying a sha1-based certificate. I think the thing to do about that is to convert from M2Crypto to cryptography and use the RSAPublicKey recover_data_from_signature() function so we can compare that to the sha1 checksum in the .cvmfswhitelist.