Skip to content

FIPS Compliance Issue with Newman #3321

@nir-moshe

Description

@nir-moshe

Hi,

Newman does not work in a FIPS-compliant environment due to its dependency on the serialised-error addon (https://github.com/postmanlabs/serialised-error), which uses MD5 hashing for checksums.

To resolve this issue, please consider either replacing the serialised-error addon or modifying it (since it is also maintained by Postman Labs) to use SHA-256 hashing instead.

Specifically, you can update the following line in index.js:
this.checksum = hash.MD5(this);
to:
this.checksum = crypto.createHash('sha256').update(JSON.stringify(this)).digest('hex');

Additionally, the object-hash dependency should be removed, as simply initializing it is not supported in a FIPS-compliant environment.

Thanks!

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