Merge pull request #54 from Erethon/master

Use /usr/bin/env python in partition_hashes
master
markqvist 1 year ago committed by GitHub
commit ef384dc4db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      partition_hashes

@ -1,4 +1,4 @@
#!/bin/python
#!/usr/bin/env python
# Copyright (C) 2023, Mark Qvist
@ -32,4 +32,4 @@ calc_hash = hashlib.sha256(firmware_data[0:-32]).digest()
part_hash = firmware_data[-32:]
if calc_hash == part_hash:
print(RNS.hexrep(part_hash, delimit=False))
print(RNS.hexrep(part_hash, delimit=False))

Loading…
Cancel
Save