sbsigntools/tests/sign-verify-detached.sh

11 lines
203 B
Bash
Raw Normal View History

#!/bin/bash -e
. "$srcdir/common.sh"
sig=test.sig
trap 'rm -f "$sig"' EXIT
"$sbsign" --cert "$cert" --key "$key" --detached --output $sig "$image"
"$sbverify" --cert "$cert" --detached $sig "$image"