Skip to content

Validate should always compare to local checksum #1281

@LogFlames

Description

@LogFlames

Currently the validate goal works by creating the ChecksumCalculator that is specified in the config. That is, if checksum calculator is "remote" it will use a RemoteChecksumCalculator. It then compares the lockfile as saved, and the newly generated lockfile with each other. This would not catch local tampering attemps, only check that the remote repository has not changed their files.

I propose we should always use the local checksum calculator when performing a validate.

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