Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
integration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
integration
Commits
867685aa
Commit
867685aa
authored
Feb 19, 2021
by
Richard T. Carback III
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
basice2e/clients.goldoutput/client35.txt
+22
-0
22 additions, 0 deletions
basice2e/clients.goldoutput/client35.txt
basice2e/run.sh
+15
-5
15 additions, 5 deletions
basice2e/run.sh
with
37 additions
and
5 deletions
basice2e/clients.goldoutput/client35.txt
0 → 100644
+
22
−
0
View file @
867685aa
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
This diff is collapsed.
Click to expand it.
basice2e/run.sh
+
15
−
5
View file @
867685aa
...
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment