You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running AIM with any script on a FIPS server results in errors like these making it unusable.
TypeError: 'digest_size' is an invalid keyword argument for openssl_blake2b()
TypeError: 'digest_size' is an invalid keyword argument for openssl_blake2b()
Exception ignored in: 'aim.storage.hashing.hashing.hash_object'
Traceback (most recent call last):
File "/usr/local/lib64/python3.11/site-packages/aim/storage/context.py", line 40, in _calc_hash
return hash_auto(self._context)
^^^^^^^^^^^^^^^^^^^^^^^^
To reproduce
Install AIM on FIPS enabled machine and run with any script the error seems to be 100% reproducible on our end.
Expected behavior
AIM hash function to generate hash without any error.
Environment
Aim Version (e.g., 3.0.1) - 3.19.3
Python version - 3.11
pip version
OS (e.g., Linux) - Linux
Any other relevant information
Additional context
The problem seems to be stemming from python library hashlib, on a FIPS enabled server the _hashlib.get_fips_mode() returns 1
🐛 Bug
Running AIM with any script on a FIPS server results in errors like these making it unusable.
To reproduce
Install AIM on FIPS enabled machine and run with any script the error seems to be 100% reproducible on our end.
Expected behavior
AIM hash function to generate hash without any error.
Environment
Additional context
The problem seems to be stemming from python library
hashlib
, on a FIPS enabled server the_hashlib.get_fips_mode()
returns1
And API call like this fails.
While on other server it works,
The text was updated successfully, but these errors were encountered: