Skip to content

Drop md5 and sha1 schemes from supported key schemes#554

Merged
lukpueh merged 1 commit intosecure-systems-lab:mainfrom
ckilcoin:remove-old-schemes
Apr 11, 2023
Merged

Drop md5 and sha1 schemes from supported key schemes#554
lukpueh merged 1 commit intosecure-systems-lab:mainfrom
ckilcoin:remove-old-schemes

Conversation

@ckilcoin
Copy link
Copy Markdown

Fixes: #512

Drop md5 and sha1 schemes from supported key schemes without changing keys/ module.

Please verify and check that the pull request fulfils the following requirements:

  • The code follows the Code Style Guidelines
  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

Tested by running tox -e py311, no additional tests needed since it is a removal of schemes.

@jku
Copy link
Copy Markdown
Collaborator

jku commented Mar 30, 2023

Quick comment:

This is probably still fine: nobody should be using these hash algorithms in the year 2023 (the theoretical danger is that existing keys used somewhere could stop working because of this... but I do think it's theoretical)

@lukpueh opinions?

@jku
Copy link
Copy Markdown
Collaborator

jku commented Mar 30, 2023

Also, please have a look at the lint results (you can check them locally too with tox -e lint)

@lukpueh
Copy link
Copy Markdown
Member

lukpueh commented Mar 30, 2023

This is probably still fine: nobody should be using these hash algorithms in the year 2023 (the theoretical danger is that existing keys used somewhere could stop working because of this... but I do think it's theoretical)

Agreed. IMO annoying potential users of md5, sha1 is a fair risk for us to take.

@ckilcoin ckilcoin force-pushed the remove-old-schemes branch from 52aa4b7 to b9306a8 Compare April 5, 2023 18:32
Copy link
Copy Markdown
Collaborator

@jku jku left a comment

Choose a reason for hiding this comment

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

LGTM

@lukpueh lukpueh merged commit f3e3f12 into secure-systems-lab:main Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop md5 and sha1 schemes from supported key schemes

3 participants