diff --git a/basice2e/clients.goldoutput/client100.txt b/basice2e/clients.goldoutput/client100.txt index ec110eb56b35e0a56a52ef53fe4ff666dcc5547f..bc8b717c438baf21db06a362c7d912b23ea077fc 100644 --- a/basice2e/clients.goldoutput/client100.txt +++ b/basice2e/clients.goldoutput/client100.txt @@ -19,6 +19,8 @@ Message received: Hello from Niamh101, with E2E Encryption Message received: Hello from Niamh101, with E2E Encryption Message received: Hello from Niamh101, with E2E Encryption Message received: Hello from Niamh101, with E2E Encryption +Message received: type is KeyExchangeConfirm +Message received: type is KeyExchangeTrigger Received 0 Received 0 Received 20 diff --git a/basice2e/clients.goldoutput/client101.txt b/basice2e/clients.goldoutput/client101.txt index 2134d988ddbbffd906d1828a88306cca3f1d1d20..c8de02f1a38940d55d6fa42766f0bc6fffa2155e 100644 --- a/basice2e/clients.goldoutput/client101.txt +++ b/basice2e/clients.goldoutput/client101.txt @@ -39,6 +39,8 @@ Message received: Hello from Jake100, with E2E Encryption Message received: Hello from Jake100, with E2E Encryption Message received: Hello from Jake100, with E2E Encryption Message received: Hello from Jake100, with E2E Encryption +Message received: type is KeyExchangeConfirm +Message received: type is KeyExchangeTrigger Received 0 Received 20 Received 20 diff --git a/basice2e/run.sh b/basice2e/run.sh index 6a7b93130ea6f33e17397b354e819a30b0dc521d..8bbf84cba4fbd0d4ca3b2d902bc95ca4479575ec 100755 --- a/basice2e/run.sh +++ b/basice2e/run.sh @@ -35,7 +35,7 @@ CLIENTUDOPTS="--password hello --ndf results/ndf.json -v $DEBUGLEVEL" CLIENTSINGLEOPTS="--password hello --waitTimeout 360 --ndf results/ndf.json -v $DEBUGLEVEL" CLIENTGROUPOPTS="--password hello --waitTimeout 600 --ndf results/ndf.json -v $DEBUGLEVEL" CLIENTFILETRANSFEROPTS="--password hello --waitTimeout 600 --ndf results/ndf.json -v $DEBUGLEVEL" -CLIENTREKEYOPTS="--password hello --ndf results/ndf.json --verify-sends --waitTimeout 420 --unsafe-channel-creation -v $DEBUGLEVEL" +CLIENTREKEYOPTS="--password hello --ndf results/ndf.json --verify-sends --waitTimeout 600 --unsafe-channel-creation -v $DEBUGLEVEL" CLIENTBACKUPOPTS="--password hello --ndf results/ndf.json -v $DEBUGLEVEL" CONNECTIONOPTS="--password hello --waitTimeout 360 --ndf results/ndf.json -v $DEBUGLEVEL" @@ -151,7 +151,7 @@ then # Start a user discovery bot server echo "STARTING UDB..." - UDBCMD="../bin/udb --logLevel $DEBUGLEVEL --protoUserPath udbProto.json --config udb.yaml -l 1" + UDBCMD="../bin/udb --logLevel $DEBUGLEVEL --skipVerification --protoUserPath udbProto.json --config udb.yaml -l 1" $UDBCMD >> $UDBOUT 2>&1 & PIDVAL=$! echo $PIDVAL >> results/serverpids @@ -531,11 +531,11 @@ wait $PIDVAL2 echo "RUNNING REKEY TEST..." # Test destid syntax too, note wait for 11 messages to catch the message from above ^^^ -CLIENTCMD="timeout 360s ../bin/client $CLIENTOPTS $REKEYOPTS -l $CLIENTOUT/client100.log -s blob100 --destid b64:$NIAMHID --sendCount 20 --receiveCount 20 -m \"Hello from Jake100, with E2E Encryption\"" +CLIENTCMD="timeout 600s ../bin/client $CLIENTREKEYOPTS $REKEYOPTS -l $CLIENTOUT/client100.log -s blob100 --destid b64:$NIAMHID --sendCount 20 --receiveCount 20 -m \"Hello from Jake100, with E2E Encryption\"" eval $CLIENTCMD >> $CLIENTOUT/client100.txt || true & PIDVAL=$! echo "$CLIENTCMD -- $PIDVAL" -CLIENTCMD="timeout 360s ../bin/client $CLIENTOPTS $REKEYOPTS -l $CLIENTOUT/client101.log -s blob101 --destid b64:$JAKEID --sendCount 20 --receiveCount 20 -m \"Hello from Niamh101, with E2E Encryption\"" +CLIENTCMD="timeout 600s ../bin/client $CLIENTREKEYOPTS $REKEYOPTS -l $CLIENTOUT/client101.log -s blob101 --destid b64:$JAKEID --sendCount 20 --receiveCount 20 -m \"Hello from Niamh101, with E2E Encryption\"" eval $CLIENTCMD >> $CLIENTOUT/client101.txt || true & PIDVAL2=$! echo "$CLIENTCMD -- $PIDVAL" @@ -544,16 +544,16 @@ wait $PIDVAL2 # Now we are just going to exhaust all the keys we have and see if we # use the unconfirmed channels -CLIENTCMD="timeout 420s ../bin/client $CLIENTREKEYOPTS $REKEYOPTS -l $CLIENTOUT/client100.log -s blob100 --destid b64:$NIAMHID --sendCount 20 --receiveCount 0 -m \"Hello from Jake100, with E2E Encryption\"" +CLIENTCMD="timeout 600s ../bin/client $CLIENTREKEYOPTS $REKEYOPTS -l $CLIENTOUT/client100.log -s blob100 --destid b64:$NIAMHID --sendCount 20 --receiveCount 0 -m \"Hello from Jake100, with E2E Encryption\"" eval $CLIENTCMD >> $CLIENTOUT/client100.txt || true & PIDVAL=$! echo "$CLIENTCMD -- $PIDVAL" -wait $PIDVAL # And receive those messages sent to us -CLIENTCMD="timeout 420s ../bin/client $CLIENTREKEYOPTS $REKEYOPTS -l $CLIENTOUT/client101.log -s blob101 --destid b64:$JAKEID --sendCount 0 --receiveCount 20" +CLIENTCMD="timeout 600s ../bin/client $CLIENTREKEYOPTS $REKEYOPTS -l $CLIENTOUT/client101.log -s blob101 --destid b64:$JAKEID --sendCount 0 --receiveCount 20" eval $CLIENTCMD >> $CLIENTOUT/client101.txt || true & PIDVAL2=$! echo "$CLIENTCMD -- $PIDVAL" +wait $PIDVAL wait $PIDVAL2 @@ -1212,7 +1212,7 @@ fi set +x -diff -aruN $GOLDOUTPUT $CLIENTCLEAN +diff -aru $GOLDOUTPUT $CLIENTCLEAN cat $CLIENTOUT/client42.log | grep -a "Could not confirm authentication channel" > results/deleteContact.txt || true echo "CHECKING FOR SUCCESSFUL CONTACT DELETION" if [ -s results/deleteContact.txt ]