We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67bf7c5 + 3635fc1 commit c2f773aCopy full SHA for c2f773a
payloads/Tools/CreateVault/sign.command
@@ -60,7 +60,8 @@ fi
60
61
echo "Signing OpenCore..."
62
./RsaTool -sign "${OCPath}/vault.plist" "${OCPath}/vault.sig" "${PubKey}" || abort "Failed to patch ${PubKey}"
63
-off=$(($(./strings -a -t d "${OCBin}" | /usr/bin/grep "=BEGIN OC VAULT=" | /usr/bin/awk '{print $1}') + 16))
+
64
+off=$((0x$(/usr/bin/hexdump -C "${OCBin}" | /usr/bin/grep "=BEGIN OC VAULT=" | /usr/bin/awk '{print $1}') + 16))
65
if [ "${off}" -le 16 ]; then
66
abort "${OCBin} is borked"
67
fi
0 commit comments