Skip to content

Commit

Permalink
Checksum verification: make checksum case-insensitive
Browse files Browse the repository at this point in the history
Fixes #120
  • Loading branch information
clefebvre committed Jan 15, 2024
1 parent 5db1922 commit a7bd6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def set_label(self, label, text):
self.update_verify_button()

def verify_checksum(self, button):
if self.builder.get_object("entry_sum").get_text() == self.sha256sum:
if self.builder.get_object("entry_sum").get_text().lower() == self.sha256sum.lower():
self.show_result("dialog-warning", _("The checksum is correct"),
summary=_("The checksum is correct but the authenticity of the sum was not verified."))
else:
Expand Down

0 comments on commit a7bd6e9

Please sign in to comment.