Lines Matching refs:OBJ

6 DATA2=$OBJ/${DATANAME}.2
9 rm -f $OBJ/sshsig-*.sig $OBJ/wrong-key* $OBJ/sigca-key*
15 ${SSHKEYGEN} -q -t ed25519 -f $OBJ/wrong-key \
18 WRONG=$OBJ/wrong-key.pub
21 ${SSHKEYGEN} -q -t ed25519 -f $OBJ/sigca-key -C "CA" -N '' \
23 CA_PRIV=$OBJ/sigca-key
24 CA_PUB=$OBJ/sigca-key.pub
39 -n $sig_principal $OBJ/${t} || \
47 privkey=${OBJ}/`basename $t -cert.pub`
48 sigfile=${OBJ}/sshsig-${keybase}.sig
49 sigfile_agent=${OBJ}/sshsig-agent-${keybase}.sig
50 pubkey=${OBJ}/${keybase}.pub
51 cert=${OBJ}/${keybase}-cert.pub
52 sigfile_cert=${OBJ}/sshsig-${keybase}-cert.sig
55 ${SSHKEYGEN} -vvv -Y sign -f ${OBJ}/$t -n $sig_namespace \
65 ${SSHKEYGEN} -vvv -Y sign -f ${OBJ}/$t -n $sig_namespace \
68 (printf "$sig_principal " ; cat $pubkey) > $OBJ/allowed_signers
71 -I $sig_principal -f $OBJ/allowed_signers \
78 cat $pubkey) > $OBJ/allowed_signers
80 -I $sig_principal -f $OBJ/allowed_signers \
86 cat $pubkey) > $OBJ/allowed_signers
88 -I $sig_principal -f $OBJ/allowed_signers \
90 < $DATA | cut -d' ' -f1-2 > ${OBJ}/${keybase}-fromsig.pub || \
92 cut -d' ' -f1-2 ${OBJ}/${keybase}.pub > ${OBJ}/${keybase}-strip.pub
93 diff -r ${OBJ}/${keybase}-strip.pub ${OBJ}/${keybase}-fromsig.pub || \
98 (printf "$sig_principal octopus " ; cat $pubkey) > $OBJ/allowed_signers
100 -I $sig_principal -f $OBJ/allowed_signers \
106 (printf "$sig_principal " ; cat $WRONG) > $OBJ/allowed_signers
108 -I $sig_principal -f $OBJ/allowed_signers \
114 (printf "$sig_principal " ; cat $pubkey) > $OBJ/allowed_signers
116 -I $sig_principal -f $OBJ/allowed_signers \
122 (printf "josef.k@example.com " ; cat $pubkey) > $OBJ/allowed_signers
124 -I $sig_principal -f $OBJ/allowed_signers \
130 (printf "$sig_principal " ; cat $pubkey) > $OBJ/allowed_signers
132 -I $sig_principal -f $OBJ/allowed_signers \
139 cat $pubkey) > $OBJ/allowed_signers
141 -I $sig_principal -f $OBJ/allowed_signers \
147 cat $pubkey) > $OBJ/allowed_signers
152 -I $sig_principal -f $OBJ/allowed_signers \
159 -I $sig_principal -f $OBJ/allowed_signers \
166 -I $sig_principal -f $OBJ/allowed_signers \
173 -I $sig_principal -f $OBJ/allowed_signers \
181 -f $OBJ/allowed_signers >/dev/null 2>&1 || \
187 -f $OBJ/allowed_signers >/dev/null 2>&1 && \
193 -f $OBJ/allowed_signers >/dev/null 2>&1 && \
198 -f $OBJ/allowed_signers >/dev/null 2>&1 && \
203 cat $pubkey > $OBJ/revoked_keys
205 cat $pubkey) > $OBJ/allowed_signers
207 -I $sig_principal -f $OBJ/allowed_signers \
208 -r $OBJ/revoked_keys \
214 cat $WRONG > $OBJ/revoked_keys
215 (printf "$sig_principal " ; cat $pubkey) > $OBJ/allowed_signers
217 -I $sig_principal -f $OBJ/allowed_signers \
218 -r $OBJ/revoked_keys \
236 (printf "$sig_principal " ; cat $pubkey) > $OBJ/allowed_signers
237 ${SSHKEYGEN} -vvv -Y find-principals -s $sigfile -f $OBJ/allowed_signers >/dev/null 2>&1 || \
242 (printf "$sig_principal " ; cat $WRONG) > $OBJ/allowed_signers
243 ${SSHKEYGEN} -vvv -Y find-principals -s $sigfile -f $OBJ/allowed_signers >/dev/null 2>&1 && \
250 cat $pubkey) > $OBJ/allowed_signers
252 -f $OBJ/allowed_signers >/dev/null 2>&1 || \
272 cat $pubkey) > $OBJ/allowed_signers
274 -I $sig_principal -f $OBJ/allowed_signers \
287 cat $pubkey) > $OBJ/allowed_signers
293 -f $OBJ/allowed_signers >/dev/null 2>&1 && \
299 -f $OBJ/allowed_signers >/dev/null 2>&1 || \
305 -f $OBJ/allowed_signers >/dev/null 2>&1 || \
311 -f $OBJ/allowed_signers >/dev/null 2>&1 || \
318 -r $OBJ/revoked_keys -f $OBJ/allowed_signers \
325 -r $OBJ/revoked_keys -f $OBJ/allowed_signers \
332 -r $OBJ/revoked_keys -f $OBJ/allowed_signers \
339 -r $OBJ/revoked_keys -f $OBJ/allowed_signers \
352 cat $CA_PUB) > $OBJ/allowed_signers
357 -f $OBJ/allowed_signers >/dev/null 2>&1 || \
363 -f $OBJ/allowed_signers >/dev/null 2>&1 && \
369 -f $OBJ/allowed_signers >/dev/null 2>&1 && \
374 -f $OBJ/allowed_signers >/dev/null 2>&1 && \
380 cat $CA_PUB) > $OBJ/allowed_signers
382 -I $sig_principal -f $OBJ/allowed_signers \
391 -f $OBJ/allowed_signers >/dev/null 2>&1 || \
397 cat $CA_PUB) > $OBJ/allowed_signers
401 -f $OBJ/allowed_signers 2>/dev/null | \
408 -I $sig_principal -f $OBJ/allowed_signers \
416 cat $pubkey) > $OBJ/allowed_signers
418 -I $sig_principal -f $OBJ/allowed_signers \
424 (printf "$sig_principal " ; cat $CA_PUB) > $OBJ/allowed_signers
426 -I $sig_principal -f $OBJ/allowed_signers \
433 cat $CA_PUB) > $OBJ/allowed_signers
435 -I $sig_principal -f $OBJ/allowed_signers \
441 cat $CA_PUB > $OBJ/revoked_keys
442 (printf "$sig_principal " ; cat $pubkey) > $OBJ/allowed_signers
444 -I $sig_principal -f $OBJ/allowed_signers \
445 -r $OBJ/revoked_keys \
452 cat $CA_PUB) > $OBJ/allowed_signers
457 -I $sig_principal -f $OBJ/allowed_signers \
464 -I $sig_principal -f $OBJ/allowed_signers \
471 -I $sig_principal -f $OBJ/allowed_signers \
478 -I $sig_principal -f $OBJ/allowed_signers \
485 -I $sig_principal -f $OBJ/allowed_signers \
492 -I $sig_principal -f $OBJ/allowed_signers \
500 cat $CA_PUB) > $OBJ/allowed_signers
503 -I $sig_principal -f $OBJ/allowed_signers \
515 ) > $OBJ/allowed_signers
518 ${SSHKEYGEN} -Y match-principals -f $OBJ/allowed_signers -I "unique" | \
523 ${SSHKEYGEN} -Y match-principals -f $OBJ/allowed_signers -I "princip" | \
528 ${SSHKEYGEN} -Y match-principals -f $OBJ/allowed_signers -I "principal1" | \
533 ${SSHKEYGEN} -Y match-principals -f $OBJ/allowed_signers \