https://bugzilla.redhat.com/show_bug.cgi?id=2120929
--- Comment #7 from Fabio Valentini decathorpe@gmail.com --- I took a quick look, and I don't think it should be too difficult to do this.
The bcrypt package uses setuptools_rust to build its native (Rust) module, which works pretty well for our purposes, in my experience - the python-cryptography package has already done this for a few versions and we haven't had problems with it. I recommend that you take a look at what we've done in the python-cryptography package and steal it for python-bcrypt :)
For now, the only blockers are probably the Rust dependencies which aren't packaged for Fedora yet (the "bcrypt" and "bcrypt-pbkdf" crates), and their dependencies (of which two are missing from Fedora right now: the "blowfish" crate, which is not packaged yet, and the "pbkdf2" crate, which is too old in Fedora - we have v0.9, and bcrypt-pbkdf2 needs v0.10).
The next steps would probably be:
- package v0.9.1 of the blowfish crate as rust-blowfish - update rust-pbkdf2 to v0.10 (and probably add a compat package for v0.9, which is still needed for other packages) - package v0.8.1 of the the bcrypt-pbkdf crate as rust-bcrypt-pbkdf (latest version is 0.9.0, but python-bcrypt explicitly needs v0.8) - package v0.13.0 of the bcrypt crate as rust-bcrypt
I don't know how much time I can allocate to help with this, but I can try by either submitting missing packages for review or doing the reviews, and by updating the pbkdf2 crate to the required version?