Skip to content

Changed hash algorithm in screenshot-compare to sha256 #6258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ujas-sidapara
Copy link

@ujas-sidapara ujas-sidapara commented May 20, 2025

What is the current behavior?

Screenshot compare function uses md5 hash algorithm

GitHub Issue Number: 6241
https://csrc.nist.rip/library/NIST%20SP%20800-107%20Recommendation%20for%20Applications%20Using%20Approved%20Hash%20Algorithms,%202009-02%20(2).pdf#:~:text=hash%20algorithm%20is%20used%20to%20map%20a%20message,hash%20algorithms%3A%20SHA-1%2C%20SHA-224%2C%20SHA-256%2C%20SHA-384%2C%20and%20SHA-512.

What is the new behavior?

Changes from md5 to sha256 as md5 is not available in environments that need FIPS compliance (or have restrictions against older hash functions with collision risks ... such as within chainguard builder images etc)

Documentation

#6241

Does this introduce a breaking change?

  • Yes
  • No

Testing

Other information

@ujas-sidapara ujas-sidapara requested a review from a team as a code owner May 20, 2025 10:02
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.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy