René's URL Explorer Experiment


Title: libxcrypt dependency is not FIPS compliant · Issue #92238 · python/cpython · GitHub

Open Graph Title: libxcrypt dependency is not FIPS compliant · Issue #92238 · python/cpython

X Title: libxcrypt dependency is not FIPS compliant · Issue #92238 · python/cpython

Description: Feature or enhancement Python v3.9 introduced a dependency on libxcrypt, which does not appear to be FIPS compliant. This may raise compliance questions for those who have depended on Python using a FIPS-validated OpenSSL in the past. As...

Open Graph Description: Feature or enhancement Python v3.9 introduced a dependency on libxcrypt, which does not appear to be FIPS compliant. This may raise compliance questions for those who have depended on Python using ...

X Description: Feature or enhancement Python v3.9 introduced a dependency on libxcrypt, which does not appear to be FIPS compliant. This may raise compliance questions for those who have depended on Python using ...

Opengraph URL: https://github.com/python/cpython/issues/92238

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"libxcrypt dependency is not FIPS compliant","articleBody":"**Feature or enhancement**\r\n\r\nPython v3.9 introduced a dependency on [libxcrypt](https://github.com/besser82/libxcrypt), which does not appear to be FIPS compliant. This may raise compliance questions for those who have depended on Python using a FIPS-validated OpenSSL in the past.\r\n\r\nAs mentioned in https://github.com/besser82/libxcrypt/blob/564fa1d92379b0ccad7e7813e1c3b0eb3eee7294/README.md#compatibility-notes:\r\n\r\n\u003e glibc’s libcrypt could optionally be configured to use Mozilla’s NSS library’s implementations of the cryptographic primitives md5crypt, sha256crypt, and sha512crypt. This option is not available in libxcrypt, because we do not currently believe it is a desirable option. The stated rationale for the option was to source all cryptographic primitives from a library that has undergone FIPS certification, but we believe FIPS certification would need to cover all of libxcrypt itself to have any meaningful value. Moreover, the strongest hashing methods, yescrypt and bcrypt, use cryptographic primitives that are not available from NSS, so the certification would not cover any part of what will hopefully be the most used code paths.\r\n\r\nBelow is the output from Red Hat Linux 8 in FIPS mode. Note the introduction of `libcrypt.so.1` (which is provided by the `libxcrypt` package):\r\n\r\n```\r\n[stanhu@stanhu-fips1 lib64]$ ldd /usr/bin/python3.6\r\n\tlinux-vdso.so.1 (0x00007ffd75f8a000)\r\n\tlibcrypto.so.1.1 =\u003e /lib64/libcrypto.so.1.1 (0x00007f5c731a6000)\r\n\tlibpython3.6m.so.1.0 =\u003e /lib64/libpython3.6m.so.1.0 (0x00007f5c72c63000)\r\n\tlibpthread.so.0 =\u003e /lib64/libpthread.so.0 (0x00007f5c72a43000)\r\n\tlibdl.so.2 =\u003e /lib64/libdl.so.2 (0x00007f5c7283f000)\r\n\tlibutil.so.1 =\u003e /lib64/libutil.so.1 (0x00007f5c7263b000)\r\n\tlibm.so.6 =\u003e /lib64/libm.so.6 (0x00007f5c722b9000)\r\n\tlibc.so.6 =\u003e /lib64/libc.so.6 (0x00007f5c71ef4000)\r\n\tlibz.so.1 =\u003e /lib64/libz.so.1 (0x00007f5c71cdc000)\r\n\t/lib64/ld-linux-x86-64.so.2 (0x00007f5c73892000)\r\n[stanhu@stanhu-fips1 lib64]$ ldd /usr/bin/python3.9\r\n\tlinux-vdso.so.1 (0x00007ffe839f5000)\r\n\tlibcrypto.so.1.1 =\u003e /lib64/libcrypto.so.1.1 (0x00007fb67781d000)\r\n\tlibpython3.9.so.1.0 =\u003e /lib64/libpython3.9.so.1.0 (0x00007fb677252000)\r\n\tlibcrypt.so.1 =\u003e /lib64/libcrypt.so.1 (0x00007fb677029000)\r\n\tlibpthread.so.0 =\u003e /lib64/libpthread.so.0 (0x00007fb676e09000)\r\n\tlibdl.so.2 =\u003e /lib64/libdl.so.2 (0x00007fb676c05000)\r\n\tlibutil.so.1 =\u003e /lib64/libutil.so.1 (0x00007fb676a01000)\r\n\tlibm.so.6 =\u003e /lib64/libm.so.6 (0x00007fb67667f000)\r\n\tlibc.so.6 =\u003e /lib64/libc.so.6 (0x00007fb6762ba000)\r\n\tlibz.so.1 =\u003e /lib64/libz.so.1 (0x00007fb6760a2000)\r\n\t/lib64/ld-linux-x86-64.so.2 (0x00007fb677f08000)\r\n```\r\n\r\nWhile Python v3.9 still works, our internal audit flagged `libxcrypt` as a possible issue.\r\n\r\n**Pitch**\r\n\r\nSince Python 3.9 may not be FIPS-compliant, it cannot technically be used on US Government systems that requires this hardening.\r\n\r\n**Previous discussion**\r\n\r\nThis dependency may have been introduced in November 2021 via https://github.com/python/cpython/pull/29725.\r\n\r\nYears ago someone raised an issue about using a FIPS-validated kernel user space API with `libxcrypt`, but this discussion seems to have gone dormant: https://github.com/besser82/libxcrypt/issues/1\r\n","author":{"url":"https://github.com/stanhu","@type":"Person","name":"stanhu"},"datePublished":"2022-05-03T16:47:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/92238/cpython/issues/92238"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e303824e-670b-059b-0bfc-bf4476b8a31a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9A88:378262:31B4F5:4191C7:696ADCDC
html-safe-nonce47b285e67f5fc6de7fc9e074cdb8b63dc3037c98b7e4a4087ad6d61ded220006
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTg4OjM3ODI2MjozMUI0RjU6NDE5MUM3OjY5NkFEQ0RDIiwidmlzaXRvcl9pZCI6IjE0MjkzNzQ5NjE5NDI0NTM0NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac87aefdec30807d01837b9d31fabf6096564c09d1446034276fb032fa298f237d
hovercard-subject-tagissue:1224347457
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/92238/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9a0c776a07700329208e82cae5efbcf2fc97c992d42172c4fd79ce38d6b17cc4/python/cpython/issues/92238
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9a0c776a07700329208e82cae5efbcf2fc97c992d42172c4fd79ce38d6b17cc4/python/cpython/issues/92238
og:image:altFeature or enhancement Python v3.9 introduced a dependency on libxcrypt, which does not appear to be FIPS compliant. This may raise compliance questions for those who have depended on Python using ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamestanhu
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release524a93f2c1f36522a3b4be4c110467ee4172245d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/92238#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F92238
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F92238
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/92238
Reloadhttps://github.com/python/cpython/issues/92238
Reloadhttps://github.com/python/cpython/issues/92238
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/92238
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/92238
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/92238
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/92238
libxcrypt dependency is not FIPS complianthttps://github.com/python/cpython/issues/92238#top
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com/stanhu
https://github.com/stanhu
stanhuhttps://github.com/stanhu
on May 3, 2022https://github.com/python/cpython/issues/92238#issue-1224347457
libxcrypthttps://github.com/besser82/libxcrypt
https://github.com/besser82/libxcrypt/blob/564fa1d92379b0ccad7e7813e1c3b0eb3eee7294/README.md#compatibility-noteshttps://github.com/besser82/libxcrypt/blob/564fa1d92379b0ccad7e7813e1c3b0eb3eee7294/README.md#compatibility-notes
#29725https://github.com/python/cpython/pull/29725
besser82/libxcrypt#1https://github.com/besser82/libxcrypt/issues/1
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.