Skip to content
Snippets Groups Projects
Commit 867685aa authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Update golds and modify run.sh to more explicitly run each step in authentication channel creation

parent d9adda5d
No related branches found
No related tags found
No related merge requests found
Sending to AAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD: Hello from 1, without E2E Encryption
Sending to AAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD: Hello from 1, without E2E Encryption
Sending to AAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD: Hello from 1, without E2E Encryption
Sending to AAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD: Hello from 1, without E2E Encryption
Sending to AAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD: Hello from 1, without E2E Encryption
Message received: Hello from 2, without E2E Encryption
Message received: Hello from 2, without E2E Encryption
Message received: Hello from 2, without E2E Encryption
Message received: Hello from 2, without E2E Encryption
Message received: Hello from 2, without E2E Encryption
Received 5
Sending to AAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD: Hello from 1, without E2E Encryption
Sending to AAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD: Hello from 1, without E2E Encryption
Sending to AAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD: Hello from 1, without E2E Encryption
Sending to AAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD: Hello from 1, without E2E Encryption
Sending to AAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD: Hello from 1, without E2E Encryption
Message received: Hello from 2, without E2E Encryption
Message received: Hello from 2, without E2E Encryption
Message received: Hello from 2, without E2E Encryption
Message received: Hello from 2, without E2E Encryption
Message received: Hello from 2, without E2E Encryption
Received 5
......@@ -284,28 +284,38 @@ TMPID=$(cat $CLIENTOUT/client43.log | grep "User\:" | awk -F' ' '{print $5}')
BENID=${TMPID}
echo "BEN ID: $BENID"
CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client42.log -s blob42 --destid b64:$BENID --sendCount 0 --receiveCount 0 -m \"Hello from Rick42, with E2E Encryption\""
# Client 42 will now wait for client 43's E2E Auth channel request and not do
# anything else.
CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client42.log -s blob42 --destid b64:$RICKID --sendCount 0 --receiveCount 0"
eval $CLIENTCMD >> $CLIENTOUT/client42.txt || true &
PIDVAL=$!
echo "$CLIENTCMD -- $PIDVAL"
wait $PIDVAL
# Client 43 will now wait for the confirmation.
CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client43.log -s blob43 --destid b64:$BENID --sendCount 0 --receiveCount 0"
eval $CLIENTCMD >> $CLIENTOUT/client43.txt || true &
PIDVAL=$!
echo "$CLIENTCMD -- $PIDVAL"
wait $PIDVAL
# Test destid syntax too, note wait for 11 messages to catch the message from above ^^^
CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client42.log -s blob42 --destid b64:$BENID --sendCount 5 --receiveCount 5 -m \"Hello from Rick42, with E2E Encryption\""
CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client42.log -s blob42 --assume-auth-channel --destid b64:$BENID --sendCount 5 --receiveCount 5 -m \"Hello from Rick42, with E2E Encryption\""
eval $CLIENTCMD >> $CLIENTOUT/client42.txt || true &
PIDVAL=$!
echo "$CLIENTCMD -- $PIDVAL"
CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client43.log -s blob43 --destid b64:$RICKID --sendCount 5 --receiveCount 5 -m \"Hello from Ben43, with E2E Encryption\""
CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client43.log -s blob43 --assume-auth-channel --destid b64:$RICKID --sendCount 5 --receiveCount 5 -m \"Hello from Ben43, with E2E Encryption\""
eval $CLIENTCMD >> $CLIENTOUT/client43.txt || true &
PIDVAL2=$!
echo "$CLIENTCMD -- $PIDVAL"
wait $PIDVAL
wait $PIDVAL2
CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client42.log -s blob42 --destid b64:$BENID --sendCount 5 --receiveCount 5 -m \"Hello from Rick42, with E2E Encryption\""
CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client42.log -s blob42 --assume-auth-channel --destid b64:$BENID --sendCount 5 --receiveCount 5 -m \"Hello from Rick42, with E2E Encryption\""
eval $CLIENTCMD >> $CLIENTOUT/client42.txt || true &
PIDVAL=$!
echo "$CLIENTCMD -- $PIDVAL"
CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client43.log -s blob43 --destid b64:$RICKID --sendCount 5 --receiveCount 5 -m \"Hello from Ben43, with E2E Encryption\""
CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client43.log -s blob43 --assume-auth-channel --destid b64:$RICKID --sendCount 5 --receiveCount 5 -m \"Hello from Ben43, with E2E Encryption\""
eval $CLIENTCMD >> $CLIENTOUT/client43.txt || true &
PIDVAL2=$!
echo "$CLIENTCMD -- $PIDVAL"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment