Checksums

exception dput.hooks.checksum.HashValidationError

Subclass of the dput.exceptions.HookException.

Thrown if the checksum checker encounters an issue.

dput.hooks.checksum.validate_checksums(changes, profile, interface)

The checksum checker is a stock dput checker that checks packages intended for upload for correct checksums. This is actually the most simple checker that exists.

Profile key: none.

Example profile:

{
    ...
    "hash": "md5"
    ...
}

The hash may be one of md5, sha1, sha256.