Skip to content

Library builders do not verify integrity of downloaded files #308

Description

@wiktorn

Currently functions in library_builders.sh do not verify integrity of downloaded files.

The good practice would be to include SHA256 hashes of the files among the versions and verify the checksum and fail the build on mismatch.

This can be achieved by adding new optional argument to fetch_unpack in common_utils.sh, which would take sha256 sum to verify against downloaded file.

Is this something, you'd like to see PR on?

Originally reported as osmcode/pyosmium-wheel-build#2, but as we move towards manylinux2010 the only "unsafe" downloads will be those done by multibuild.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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