summaryrefslogtreecommitdiff
path: root/src/credential/test_credential_bi_and.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/credential/test_credential_bi_and.sh')
-rwxr-xr-xsrc/credential/test_credential_bi_and.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/credential/test_credential_bi_and.sh b/src/credential/test_credential_bi_and.sh
index a7ed3ce1a..d52fb5dbe 100755
--- a/src/credential/test_credential_bi_and.sh
+++ b/src/credential/test_credential_bi_and.sh
@@ -37,6 +37,7 @@ EKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep e | awk '{print
FKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep f | awk '{print $3}')
GKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep g | awk '{print $3}')
HKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep h | awk '{print $3}')
+gnunet-identity -d
# (1) (A.a) <- B.b
# (2) (B.b) <- C.c AND G.g
@@ -55,16 +56,16 @@ gnunet-credential --createIssuerSide --ego=g --attribute="g" --subject="$HKEY h"
gnunet-namestore -D -z b
SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=c --attribute="c" --subject="$DKEY d" --ttl="2019-12-12 10:00:00"`
-gnunet-credential --createSubjectSide --ego=d --import "$SIGNED"
+gnunet-credential --createSubjectSide --ego=d --import="$SIGNED"
gnunet-namestore -D -z d
SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=d --attribute="d" --subject="$EKEY e" --ttl="2019-12-12 10:00:00"`
-gnunet-credential --createSubjectSide --ego=e --import "$SIGNED"
+gnunet-credential --createSubjectSide --ego=e --import="$SIGNED"
gnunet-namestore -D -z e
SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=e --attribute="e" --subject="$FKEY" --ttl="2019-12-12 10:00:00"`
-gnunet-credential --createSubjectSide --ego=f --import "$SIGNED" --private
+gnunet-credential --createSubjectSide --ego=f --import="$SIGNED" --private
gnunet-namestore -D -z f
SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=h --attribute="h" --subject="$FKEY" --ttl="2019-12-12 10:00:00"`
-gnunet-credential --createSubjectSide --ego=f --import "$SIGNED" --private
+gnunet-credential --createSubjectSide --ego=f --import="$SIGNED" --private
gnunet-namestore -D -z h
# Starting to resolve