Skip to content

tokenize works in a FIPS 140-2 environment#8762

Merged
jsignell merged 1 commit intodask:mainfrom
jcrist:md5-usedforsecurity
Feb 28, 2022
Merged

tokenize works in a FIPS 140-2 environment#8762
jsignell merged 1 commit intodask:mainfrom
jcrist:md5-usedforsecurity

Conversation

@jcrist
Copy link
Copy Markdown
Member

@jcrist jcrist commented Feb 28, 2022

Python 3.9 added a usedforsecurity kwarg to mark uses of algorithms as
not relevant for security. tokenize is not security relevant, and
should work regardless of FIPS restrictions. We set
usedforsecurity=False for Python 3.9+.

Fixes #8608.

Python 3.9 added a `usedforsecurity` kwarg to mark uses of algorithms as
not relevant for security. `tokenize` is not security relevant, and
should work regardless of FIPS restrictions. We set
`usedforsecurity=False` for Python 3.9+.
Copy link
Copy Markdown
Member

@jsignell jsignell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jcrist! This makes sense to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core enhancement Improve existing functionality or make things work better

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MD5 not supported without usedforsecurity=False in FIPS 140-2 environment

2 participants