Univention Bugzilla – Bug 48460
replace "homebrew" DES encryption code with passlib.crypto.des in univention-radius
Last modified: 2019-03-12 13:40:28 CET
+++ This bug was initially created as a clone of Bug #39301 +++ We should consider replacing the DES code in univention-radius and univention-squid with passlib.utils.des. univention-radius: univention/pyMsChapV2.py.DesEncrypt() - convertKey() - setOddParity() - return pyDes.des(convertKey(key), pyDes.ECB).encrypt(data) + return passlib.utils.des.des_encrypt_block(key, data) ---------- passlib.utils.des was moved into passlib.crypto.des which means the api for it is stable. A lot of the mschapv2 implementation is never used and can be removed. Only "ChallengeResponse" and "HashNtPasswordHash" is actually used.
[4.4-0 9a02505555] Bug #48460: Use passlib for des encryption
OK: code change OK: functional tests → see also bug 46018 OK: changelog xml
UCS 4.4 has been released: https://docs.software-univention.de/release-notes-4.4-0-en.html https://docs.software-univention.de/release-notes-4.4-0-de.html If this error occurs again, please use "Clone This Bug".