(225 . 8)(225 . 8)
13 done
14
15 # 'ASCII-Armoured' PGP signatures have mandatory start and end markers:
16 START_MARKER="\-\-\-\-\-BEGIN PGP SIGNATURE\-\-\-\-\-"
17 END_MARKER="\-\-\-\-\-END PGP SIGNATURE\-\-\-\-\-"
18 START_MARKER="^\-\-\-\-\-BEGIN PGP SIGNATURE\-\-\-\-\-"
19 END_MARKER="^\-\-\-\-\-END PGP SIGNATURE\-\-\-\-\-"
20
21 # Determine start and end line positions for payload:
22 start_ln=$(grep -m 1 -n "$START_MARKER" $SIGFILE | cut -d ':' -f1)
(274 . 7)(274 . 7)
24 if [ $CLEARSIGN_MODE == true ]
25 then
26 # Find position of 'clearsign' payload start marker:
27 CLEAR_MARKER="\-\-\-\-\-BEGIN PGP SIGNED MESSAGE\-\-\-\-\-"
28 CLEAR_MARKER="^\-\-\-\-\-BEGIN PGP SIGNED MESSAGE\-\-\-\-\-"
29 start_clr=$(grep -m 1 -n "$CLEAR_MARKER" $SIGFILE | cut -d ':' -f1)
30
31 # If payload start marker was not found: