summaryrefslogtreecommitdiff
path: root/src/credential/test_credential_bi_bw_link.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/credential/test_credential_bi_bw_link.sh')
-rwxr-xr-xsrc/credential/test_credential_bi_bw_link.sh16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/credential/test_credential_bi_bw_link.sh b/src/credential/test_credential_bi_bw_link.sh
index dd66741fa..2ae04f824 100755
--- a/src/credential/test_credential_bi_bw_link.sh
+++ b/src/credential/test_credential_bi_bw_link.sh
@@ -64,20 +64,18 @@ gnunet-namestore -D -z f
64# Starting to resolve 64# Starting to resolve
65echo "+++ Starting to Resolve +++" 65echo "+++ Starting to Resolve +++"
66 66
67DELS=`$DO_TIMEOUT gnunet-credential --collect --issuer=$AKEY --attribute="a" --ego=f --forward --backward -c test_credential_lookup.conf | paste -d, -s` 67DELS=`$DO_TIMEOUT gnunet-credential --collect --issuer=$AKEY --attribute="a" --ego=f --forward --backward -c test_credential_lookup.conf | paste -d, -s - -`
68echo $DELS 68echo $DELS
69echo gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate=\'$DELS\' --forward --backward -c test_credential_lookup.conf 69echo gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate=\'$DELS\' --forward --backward -c test_credential_lookup.conf
70RES_DELS=`gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate="$DELS" --forward --backward -c test_credential_lookup.conf` 70RES_DELS=`gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate="$DELS" --forward --backward -c test_credential_lookup.conf`
71 71
72# Cleanup properly 72# Cleanup properly
73gnunet-namestore -z epub -d -n $DISC_ATTR -t ATTR -c test_credential_lookup.conf 73gnunet-namestore -z a -d -n "a" -t ATTR -c test_credential_lookup.conf
74gnunet-namestore -z eorg -d -n $PREF_ATTR -t ATTR -c test_credential_lookup.conf 74gnunet-namestore -z b -d -n "b" -t ATTR -c test_credential_lookup.conf
75gnunet-namestore -z stateu -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 75gnunet-namestore -z g -d -n "g" -t ATTR -c test_credential_lookup.conf
76#gnunet-namestore -z a -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 76gnunet-namestore -z d -d -n "@" -t DEL -c test_credential_lookup.conf
77#gnunet-namestore -z d -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 77gnunet-namestore -z e -d -n "@" -t DEL -c test_credential_lookup.conf
78#gnunet-namestore -z e -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 78gnunet-namestore -z f -d -n "@" -t DEL -c test_credential_lookup.conf
79#gnunet-namestore -z f -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf
80#gnunet-namestore -z g -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf
81 79
82gnunet-arm -e -c test_credential_lookup.conf 80gnunet-arm -e -c test_credential_lookup.conf
83 81