Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions edge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@
# crx3-verify rsa 0 public.pem < $crx_cws
# echo "CRX verified"

#Now remove unneeded pem file
rm public.pem
VERSION=`python3.6 -c "import json ; print(json.loads(open('chromium/manifest.json').read())['version'])"`
crx_cws="pkg/https-everywhere-$VERSION-cws.crx"
crx_eff="pkg/https-everywhere-$VERSION-eff.crx"

crx3-info rsa 0 < $crx_cws > public.pem
rsa 0 public.pem < $crx_cws
crx3-verify rsa 0 public.pem < $crx_cws
echo "CRX verified"

#Build Edge Zip File
Expand All @@ -29,4 +27,6 @@ echo >&2 "Edge zip package has sha256sum: `openssl dgst -sha256 -binary "https-e
mv https-everywhere-$VERSION-edge.zip pkg/https-everywhere-$VERSION-edge.zip

echo "Created pkg/https-everywhere-$VERSION-edge.zip"

#Now remove unneeded pem file
rm public.pem