Skip to content

Changing screenshot algorithm from md5 to sha256 will allow compiler to run in FIPS-180-3 Compliant build containers #6241

@ujas-sidapara

Description

@ujas-sidapara

Change request:

Can we make a change here:

const currentImageHash = createHash('md5').update(currentScreenshotBuf).digest('hex');

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)

I'm happy to raise a PR for this change if accepted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions