mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-05 04:27:56 +00:00
0d2b23de2f
crypt left the standard library in 3.13 and both imports of it here are unconditional, so the server does not start on a 3.13 distro that ships no crypt shim of its own. legacycrypt and crypt_r both reach the same libcrypt call, tried in that order because legacycrypt is pure ctypes while crypt_r wants a compiler. Both were checked byte for byte against the stdlib for the $6$ salts used here, and a hash written under the stdlib verifies under either, so stored crypted.* attributes keep working. Recommends rather than Requires, and only above 3.12: el9 and el10 still ship the stdlib module, and some 3.13 distros package no candidate at all, where a hard dependency would make the rpm uninstallable.