Skip to content

Instantly share code, notes, and snippets.

@rubo77
Last active May 20, 2022 05:17
Show Gist options
  • Save rubo77/5647ad291eb7ed355ec52db0eedb013f to your computer and use it in GitHub Desktop.
Save rubo77/5647ad291eb7ed355ec52db0eedb013f to your computer and use it in GitHub Desktop.
#!/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