Skip to content

The validator incorrectly accepts lowercase hash algorithm names, which is not compliant with the specification. #99

Description

@railisac

The README.rst has this example

$ validate-patterns
Enter a pattern to validate: [file-object:hashes.md5 = '79054025255fb1a26e4bc422aef54eb4']
PASS: [file-object:hashes.md5 = '79054025255fb1a26e4bc422aef54eb4']

However, according to Section 10.7 "Hashing Algorithms" of the Specification, hash names need to be uppercase, i.e., file-object:hashes.MD5. The lowercase version from the example is not valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions