libstorage / libstoragemgmt

A library for storage management
https://libstorage.github.io/libstoragemgmt-doc/
GNU Lesser General Public License v2.1
82 stars 32 forks source link

Correction for fips error #528

Closed tasleson closed 1 year ago

tasleson commented 1 year ago

When running on a fips enabled system we encounter the following error:

PLUGIN_BUG(2): [digital envelope routines] unsupported Data: Traceback (most recent call last): ...
  File "/usr/lib64/python3.9/site-packages/lsm/_common.py", line 348, in md5
    h = hashlib.md5()
ValueError: [digital envelope routines] unsupported

Utilize the usedforsecurity=Falseparameter to md5 to indicate that our use is not for security related purposes.

lkx007 commented 1 year ago

您好,您的来信已收到,我将会尽快给您回复,谢谢~~