Title: hashlib.md5 errors in FIPS mode for Python3.9+ · Issue #4015 · feast-dev/feast · GitHub
Open Graph Title: hashlib.md5 errors in FIPS mode for Python3.9+ · Issue #4015 · feast-dev/feast
X Title: hashlib.md5 errors in FIPS mode for Python3.9+ · Issue #4015 · feast-dev/feast
Description: Expected Behavior Initiating the server should succeed. Current Behavior Getting an error Traceback (most recent call last): File "/root/.local/bin/feast", line 5, in
Open Graph Description: Expected Behavior Initiating the server should succeed. Current Behavior Getting an error Traceback (most recent call last): File "/root/.local/bin/feast", line 5, in
X Description: Expected Behavior Initiating the server should succeed. Current Behavior Getting an error Traceback (most recent call last): File "/root/.local/bin/feast", line 5, in <module> from ...
Opengraph URL: https://github.com/feast-dev/feast/issues/4015
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hashlib.md5 errors in FIPS mode for Python3.9+","articleBody":"## Expected Behavior \r\n\r\nInitiating the server should succeed.\r\n\r\n## Current Behavior\r\n\r\nGetting an error\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/root/.local/bin/feast\", line 5, in \u003cmodule\u003e\r\n from feast.cli import cli\r\n File \"/root/.local/lib/python3.10/site-packages/feast/__init__.py\", line 7, in \u003cmodule\u003e\r\n from feast.infra.offline_stores.bigquery_source import BigQuerySource\r\n File \"/root/.local/lib/python3.10/site-packages/feast/infra/offline_stores/bigquery_source.py\", line 6, in \u003cmodule\u003e\r\n from feast.data_source import DataSource\r\n File \"/root/.local/lib/python3.10/site-packages/feast/data_source.py\", line 28, in \u003cmodule\u003e\r\n from feast.repo_config import RepoConfig, get_data_source_class_from_type\r\n File \"/root/.local/lib/python3.10/site-packages/feast/repo_config.py\", line 29, in \u003cmodule\u003e\r\n from feast.usage import log_exceptions\r\n File \"/root/.local/lib/python3.10/site-packages/feast/usage.py\", line 50, in \u003cmodule\u003e\r\n \"env_signature\": hashlib.md5(\r\nValueError: [digital envelope routines] unsupported\r\n```\r\n\r\n## Steps to reproduce\r\n\r\nI'm honestly not sure how to enable FIPS mode. We're using Amazon Linux 2023 image and it could be \r\n\r\n### Specifications\r\n\r\n- Version: latest\r\n- Platform: \r\n- Subsystem:\r\n\r\n## Possible Solution\r\n\r\nAllow passing `usedforsecurity` parameter for the [hashlib.md5](https://docs.python.org/3/library/hashlib.html#hashlib.md5) method. Here's an example of similar approach in [pytest-dev/pytest-randomly](https://github.com/pytest-dev/pytest-randomly/pull/415/files).\r\n","author":{"url":"https://github.com/dawid-laszuk-sp","@type":"Person","name":"dawid-laszuk-sp"},"datePublished":"2024-03-15T20:58:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4015/feast/issues/4015"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:40396990-7a2e-0a03-a8d3-351eb0c25487 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD16:1022EC:2949550:37081BF:6971CE3B |
| html-safe-nonce | 4ec09eef706ff9aa342b0ebd996bb56c918006e07547e2d3e676db188fbe696c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDE2OjEwMjJFQzoyOTQ5NTUwOjM3MDgxQkY6Njk3MUNFM0IiLCJ2aXNpdG9yX2lkIjoiNTk5MzcwMjI5MTU1MjcxODM5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ae7275ae0781b5bf98e40ca7546a34cabe1a9b4146bada64b2d4a24fadd8c4d5 |
| hovercard-subject-tag | issue:2189460749 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/4015/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2dfe4492cfaa0acac7732f6d5e3c673d59d5d9c8846cd01e2beb959cac29c03f/feast-dev/feast/issues/4015 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2dfe4492cfaa0acac7732f6d5e3c673d59d5d9c8846cd01e2beb959cac29c03f/feast-dev/feast/issues/4015 |
| og:image:alt | Expected Behavior Initiating the server should succeed. Current Behavior Getting an error Traceback (most recent call last): File "/root/.local/bin/feast", line 5, in |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dawid-laszuk-sp |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7476eb4140129667a7530d10cfb7688f701883e35a4dcaa4673e3ec599af5199 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2cc0827c872b538cd08371730242ae4951d2d61a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width