adapted to latest changes of openpace

works with openpace 702cf84aaa01ef5dc490d32208067a89a33102c1
This commit is contained in:
Frank Morgner
2012-11-01 07:54:24 +01:00
parent e8528c8297
commit f5a2cde7d6
5 changed files with 11 additions and 30 deletions

View File

@@ -1,8 +1,5 @@
#! /bin/sh
ECDH_CAR=DECVCAAT00001
DH_CAR=DETESTCVCA00003
CVCA=cvca.cvcert
DVCA=dvca.cvcert
TERMINAL=at.cvcert
@@ -50,21 +47,9 @@ fi
for KA in ecdh dh
do
CAR=
if test $KA = ecdh
then
CAR=$ECDH_CAR
elif test $KA = dh
then
CAR=$DH_CAR
else
echo "CAR not found"
exit 1
fi
$VICC --type nPA --ef-cardsecurity=$DATA/$KA/$SECURITY \
--ef-cardaccess=$DATA/$KA/$ACCESS --ca-key=$DATA/$KA/$NPA_KEY \
--car=$CAR --cvca=$DATA/$KA/$CVCA --disable-checks &
--cvca=$DATA/$KA/$CVCA --disable-checks &
VICC_PID=$!
if test $? -ne 0
then