- djm@cvs.openbsd.org 2011/05/17 07:13:31
[regress/cert-userkey.sh] fatal() if asked to generate a legacy ECDSA cert (these don't exist) and fix the regress test that was trying to generate them :)
This commit is contained in:
parent
f2e407e2dd
commit
f67188fe13
|
@ -30,6 +30,10 @@
|
||||||
code locations in perfect sync and ordering
|
code locations in perfect sync and ordering
|
||||||
|
|
||||||
"this is at once beautiful and horrible" + ok dtucker@
|
"this is at once beautiful and horrible" + ok dtucker@
|
||||||
|
- djm@cvs.openbsd.org 2011/05/17 07:13:31
|
||||||
|
[regress/cert-userkey.sh]
|
||||||
|
fatal() if asked to generate a legacy ECDSA cert (these don't exist)
|
||||||
|
and fix the regress test that was trying to generate them :)
|
||||||
|
|
||||||
20110515
|
20110515
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: cert-userkey.sh,v 1.7 2010/08/31 12:24:09 djm Exp $
|
# $OpenBSD: cert-userkey.sh,v 1.8 2011/05/17 07:13:31 djm Exp $
|
||||||
# Placed in the Public Domain.
|
# Placed in the Public Domain.
|
||||||
|
|
||||||
tid="certified user keys"
|
tid="certified user keys"
|
||||||
|
@ -27,7 +27,7 @@ for ktype in rsa dsa $ecdsa ; do
|
||||||
-n ${USER},mekmitasdigoat $OBJ/cert_user_key_${ktype} ||
|
-n ${USER},mekmitasdigoat $OBJ/cert_user_key_${ktype} ||
|
||||||
fail "couldn't sign cert_user_key_${ktype}"
|
fail "couldn't sign cert_user_key_${ktype}"
|
||||||
# v00 ecdsa certs do not exist
|
# v00 ecdsa certs do not exist
|
||||||
test "{ktype}" = "ecdsa" && continue
|
test "${ktype}" = "ecdsa" && continue
|
||||||
cp $OBJ/cert_user_key_${ktype} $OBJ/cert_user_key_${ktype}_v00
|
cp $OBJ/cert_user_key_${ktype} $OBJ/cert_user_key_${ktype}_v00
|
||||||
cp $OBJ/cert_user_key_${ktype}.pub $OBJ/cert_user_key_${ktype}_v00.pub
|
cp $OBJ/cert_user_key_${ktype}.pub $OBJ/cert_user_key_${ktype}_v00.pub
|
||||||
${SSHKEYGEN} -q -t v00 -s $OBJ/user_ca_key -I \
|
${SSHKEYGEN} -q -t v00 -s $OBJ/user_ca_key -I \
|
||||||
|
|
Loading…
Reference in New Issue