Skip to content

verify_sfv fails files with lower case crc32 strings even though the crc32 is technically a match #13

@earandel

Description

@earandel

Sometimes sfv files don't have the crc32 string in upper case hexadecimal but rather in lower case hexadecimal. When this happens, file hash.verify_sfv returns failed matches even though the crc32 expected vs actual is technically correct. Should the check be:

expected_crc32.upper() == actual_crc32.upper()

to be more resilient/forgiving?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions