Skip to content

Update SHV menu item to calculate the hash the same way the app does #101

@amcmanus

Description

@amcmanus

The app now generates a base64 version of the dm-verity hash. Add the xxd tool, along with logic like:

if [[ `which xxd` && `which base64` ]]; then
  base64_hash=$( echo -n ${HASH} \| xxd -r -p \| base64 )
  echo "Base64 Hash for SHV: ${base64_hash}"
  read -p "Press enter once you have recorded the base64 SHV hash. "
fi

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions