orbisai0security (tweaked by me)


Patch
r1934529

r1934529 | dsahlberg | 2026-05-23 08:21:26 +0000 (Sat, 23 May 2026)

Improve the store-plaintext-password.py script.

* tools/client-side/store-plaintext-password.py
  (_read_one_datum, hash_read, outputHash): Replace assert with raise
  (main): Add a helper to construct the hashlib.md5 object in a backwards
          compatible way and use it to create the object with
          usedforsecurity=False ("A false value allows the use of insecure and
          blocked hashing algorithms in restricted environments")

Patch by: orbisai0security (tweaked by me)

Closes #36