Skip to content

[RFE] create a more robust check if the checksum is valid #5

@grvn

Description

@grvn

Right now update.sh does the following check

[[ ! ${SHA256} =~ ^[a-z0-9]+$ ]] && printf "got junk instead of sha256\n" && exit 1

which obviously has a flaw (see #2 (comment)).

D.o.D: there is some sort of verification of the checksum, preferably done through some sort of API call to the git hosting provider ( or some alternative approach is done, like #4 for GitHub )

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