Last active
May 20, 2022 05:17
-
-
Save rubo77/5647ad291eb7ed355ec52db0eedb013f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# siehe https://wiki.freifunk.net/ECDSA_Util | |
# dies gilt nur für Kiel | |
# falls du noch keinen key hast: | |
# ecdsakeygen -s > ecdsautil_key.secret | |
# cat ecdsautil_key.secret|ecdsakeygen -p > ecdsautil_key.public | |
branch=stable | |
#branch=rc | |
#mirror='http://[fda1:384a:74de:4242::2]/firmware/'$branch'/sysupgrade/' | |
mirror='https://freifunk.in-kiel.de/firmware/'$branch'/sysupgrade/' | |
wget $mirror"$branch.manifest.clean" | |
cp $branch.manifest.clean $branch.manifest | |
echo "---" >>$branch.manifest | |
ecdsasign $branch.manifest.clean < ecdsautil_key.secret >>$branch.manifest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment