blob: 2ae6e7095651196f1c667e1a07d195ffd4f6e9ab [file] [log] [blame]
#!/bin/bash -e
sig="test.sig"
signed="test.signed"
"$sbsign" --cert "$cert" --key "$key" --detached --output "$sig" "$image"
cp "$image" "$signed"
"$sbattach" --attach "$sig" "$signed"
"$sbverify" --cert "$cert" "$signed"