Skip to content

Commit

Permalink
fix: Hashlib md5 errors in FIPS for python 3.9+ (#4019)
Browse files Browse the repository at this point in the history
* SAASMLOPS-1208 fix hashlib md5 errors in FIPS for python 3.9+

Signed-off-by: Brijesh Vora <brijesh.vora@sailpoint.com>

* SAASMLOPS-1208 drop the version check

Signed-off-by: Brijesh Vora <brijesh.vora@sailpoint.com>

---------

Signed-off-by: Brijesh Vora <brijesh.vora@sailpoint.com>
  • Loading branch information
brijesh-vora-sp authored Mar 20, 2024
1 parent 7b93c3d commit 6d9156b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/python/feast/usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"env_signature": hashlib.md5(
",".join(
sorted([k for k in os.environ.keys() if not k.startswith("FEAST")])
).encode()
).encode(),
usedforsecurity=False,
).hexdigest(),
}

Expand Down

0 comments on commit 6d9156b

Please sign in to comment.