Skip to content

integrity check for build recipe fetches #94

@zaucy

Description

@zaucy

Adding an "integrity" string for the file we're fetching to prevent any unexpected changes would be good for security.

- fetch: https://example.com/some/file.cc
  integrity: sha256-BLAHBLAHBLAH # support multiple algos?
  outdir: some/dir

If the integrity check doesn't match whats in the build receipe after a fetch the build should fail.

If a recipe doesn't have an integrity string we should print a warning with the integrity string so its easy to copy. Maybe even a flag to automatically write to the receipe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions