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
DIGEST_SIZE = hashlib.md5().digest_sizecode fails to run in FIPS compliant images with the below error because md5 is no longer trusted.
/app/.venv/lib/python3.10/site-packages/aws_kinesis_agg/__init__.py:21: in <module>
DIGEST_SIZE = hashlib.md5().digest_size
E ValueError: [digital envelope routines] unsupported
Since it is only being used to find the DIGETS and not for for cryptographic purpose, the recommendation in hash lib docs is to use DIGEST_SIZE = hashlib.md5(usedforsecurity=True).digest_size
This issue to fix exactly that
The text was updated successfully, but these errors were encountered:
mnunna-broadcom
pushed a commit
to mnunna-broadcom/kinesis-aggregation
that referenced
this issue
Mar 8, 2024
DIGEST_SIZE = hashlib.md5().digest_size
code fails to run in FIPS compliant images with the below error because md5 is no longer trusted.Since it is only being used to find the DIGETS and not for for cryptographic purpose, the recommendation in hash lib docs is to use
DIGEST_SIZE = hashlib.md5(usedforsecurity=True).digest_size
This issue to fix exactly that
The text was updated successfully, but these errors were encountered: