File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,9 +14,10 @@ See the [FAQ](FAQ.md) for more details about common questions.
1414
1515This wallet uses [ Subresource Integrity] ( https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity ) . Current bundle hashes:
1616
17- * Main bundle: ` bundle.js -> sha256-x9oGHUxFMH+grTV/yqpWYsWnVdmD00PPolTahdB4sUE= `
18- * Optional Ledger bundle: ` bundle-ledger.js -> sha256-ahGOG1h2KTAtylviHC6GYqCX9Pa2NUleoytU5knhB6E= `
19- * Optional WalletConnect bundle: ` bundle-walletconnect.js -> sha256-eGLzdWvYcl/9NmhqTvc7j8/jhWAwauOnaGL4wNMs44w= `
17+ * Main bundle: ` bundle.js -> sha256-kVZnRwd7Qa095vApngR7IxDK53ZSFJB86RzMYRpfPSU= `
18+ * Optional Ledger bundle: ` bundle-ledger.js -> sha256-pNndh3uDU7f3K3e4nu05OXTE3Bx3WRMeVtr95liXJTE= `
19+ * Optional WalletConnect v1 bundle: ` bundle-walletconnectv1.js -> sha256-PImYY1hPF519ZjZx2Pei7QsZ7kJyMpdtJgRKHT52ekg= `
20+ * Optional WalletConnect v2 bundle: ` bundle-walletconnectv2.js -> sha256-UHsf1l/tWhpHJk2NMbCH1l372Pm8JoGxLLQqCLnNaLI= `
2021
2122Advanced users can verify the source integrity by comparing the hashes in their page source to these values.
2223
Original file line number Diff line number Diff line change @@ -42,8 +42,10 @@ export BUNDLE_HASH=`shasum -b -a 256 dist/bundle.js | awk '{ print $1 }' | xxd -
4242echo " Bundle hash ${BUNDLE_HASH} "
4343export LEDGER_BUNDLE_HASH=` shasum -b -a 256 dist/bundle-ledger.js | awk ' { print $1 }' | xxd -r -p | base64`
4444echo " Ledger bundle hash ${LEDGER_BUNDLE_HASH} "
45- export WC_BUNDLE_HASH=` shasum -b -a 256 dist/bundle-walletconnect.js | awk ' { print $1 }' | xxd -r -p | base64`
46- echo " WalletConnect bundle hash ${WC_BUNDLE_HASH} "
45+ export WC1_BUNDLE_HASH=` shasum -b -a 256 dist/bundle-walletconnectv1.js | awk ' { print $1 }' | xxd -r -p | base64`
46+ echo " WalletConnect v1 bundle hash ${WC1_BUNDLE_HASH} "
47+ export WC2_BUNDLE_HASH=` shasum -b -a 256 dist/bundle-walletconnectv2.js | awk ' { print $1 }' | xxd -r -p | base64`
48+ echo " WalletConnect v2 bundle hash ${WC2_BUNDLE_HASH} "
4749
4850echo " Updating index.html bundle hash"
4951xplat_sed " s|sha256-%BUNDLE_HASH%|sha256-${BUNDLE_HASH} |g" dist/index.html
@@ -56,7 +58,8 @@ if [ "$ELECTRON" = false ]; then
5658 echo " Updating Readme"
5759 xplat_sed " s|bundle.js -> sha256-.*\` |bundle.js -> sha256-${BUNDLE_HASH} \` |g" README.md
5860 xplat_sed " s|bundle-ledger.js -> sha256-.*\` |bundle-ledger.js -> sha256-${LEDGER_BUNDLE_HASH} \` |g" README.md
59- xplat_sed " s|bundle-walletconnect.js -> sha256-.*\` |bundle-walletconnect.js -> sha256-${WC_BUNDLE_HASH} \` |g" README.md
61+ xplat_sed " s|bundle-walletconnectv1.js -> sha256-.*\` |bundle-walletconnectv1.js -> sha256-${WC1_BUNDLE_HASH} \` |g" README.md
62+ xplat_sed " s|bundle-walletconnectv2.js -> sha256-.*\` |bundle-walletconnectv2.js -> sha256-${WC2_BUNDLE_HASH} \` |g" README.md
6063else
6164 echo " Prepping index.html for electron"
6265 # Trim title down
You can’t perform that action at this time.
0 commit comments