Skip to content

[CodeQL] suppress usage of SHA1 in uuidv5 generation of WinRT pinterface guids#1911

Merged
DefaultRyan merged 1 commit into
masterfrom
user/defaultryan/sha1-codeql
Feb 4, 2025
Merged

[CodeQL] suppress usage of SHA1 in uuidv5 generation of WinRT pinterface guids#1911
DefaultRyan merged 1 commit into
masterfrom
user/defaultryan/sha1-codeql

Conversation

@DefaultRyan
Copy link
Copy Markdown
Member

CodeQL recently flagged some usage of the SHA1 hashing algorithm. If SHA1 was being used for authentication, that would be bad.

Here, it's used strictly for WinRT's method of calculating guids for parameterized types, which relies on UUID version 5, which utilizes SHA1 as the hashing function. In this case, it's safe to add suppression comments.

@DefaultRyan DefaultRyan merged commit b435886 into master Feb 4, 2025
@DefaultRyan DefaultRyan deleted the user/defaultryan/sha1-codeql branch February 4, 2025 19:36
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.

2 participants