File: verify-missing-cert.sh

package info (click to toggle)
sbsigntool 0.9.4-4
  • links: PTS
  • area: main
  • in suites: forky
  • size: 988 kB
  • sloc: ansic: 8,390; sh: 194; makefile: 147
file content (12 lines) | stat: -rwxr-xr-x 185 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash -e

signed="test.signed"

"$sbsign" --cert "$cert" --key "$key" --output "$signed" "$image"

set +e
"$sbverify" --cert "missing-cert" "$signed"
rc=$?
set -e

test $rc -eq 1