File: verify-with-real-ssh-keygen.sh

package info (click to toggle)
python-sshsig 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 236 kB
  • sloc: python: 901; sh: 53; makefile: 9
file content (15 lines) | stat: -rwxr-xr-x 287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#/usr/bin/env bash
set -o errexit -o nounset
cd $(dirname "$0")

for C in ../testdata/sshsig/*; do
  echo Checking $C
  ssh-keygen -Y verify \
    -f "$C/allowed_signers" \
    -I $(cat $C/signer_identity) \
    -n git \
    -s "$C/message.sig" \
    < "$C/message"
done

echo All done.