mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-26 10:01:07 +08:00
Sort filenames before hashing and force hashing in text mode to avoid inconsistencies
This commit is contained in:
parent
39b5a2a87d
commit
cdd17a06b7
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
|
|||
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
||||
|
||||
## [unreleased][unreleased]
|
||||
- Changed calculation of companion ARM firmware hash to be uniform accross platforms (@Doridian)
|
||||
- Changed `hf mf *` - verbose flag now also decode and prints found value blocks (@iceman1001)
|
||||
- Changed `hf mf wrbl` - added more helptext and new param --force to point out block0 writes (@iceman1001)
|
||||
- Changed `hf 15 raw` - it now uses NG frame for response (@iceman1001)
|
||||
|
|
|
@ -63,7 +63,7 @@ sha=$(
|
|||
cd "$pm3path" || return
|
||||
# did we find the src?
|
||||
[ -f armsrc/appmain.c ] || return
|
||||
ls armsrc/*.[ch] common_arm/*.[ch]|grep -E -v "(disabled|version_pm3|fpga_version_info)"|xargs sha256sum|sha256sum|cut -c -9
|
||||
ls armsrc/*.[ch] common_arm/*.[ch]|grep -E -v "(disabled|version_pm3|fpga_version_info)"|sort|xargs sha256sum -t|sha256sum|cut -c -9
|
||||
)
|
||||
if [ "$sha" = "" ]; then
|
||||
sha="no sha256"
|
||||
|
|
Loading…
Reference in a new issue