1#!/bin/sh 2# Example signing script. See pkg-repo(8) for more information. 3set -e 4 5read -t 2 sum 6[ -z "$sum" ] && exit 1 7echo SIGNATURE 8echo -n "$sum" | /usr/bin/openssl dgst -sign repo.key -sha256 -binary 9echo 10echo CERT 11cat repo.pub 12echo END 13 14