aboutsummaryrefslogtreecommitdiff
path: root/src/credential/test_credential_bi_fw.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/credential/test_credential_bi_fw.sh')
-rwxr-xr-xsrc/credential/test_credential_bi_fw.sh17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/credential/test_credential_bi_fw.sh b/src/credential/test_credential_bi_fw.sh
index 5df73a4fd..3eeb48ee9 100755
--- a/src/credential/test_credential_bi_fw.sh
+++ b/src/credential/test_credential_bi_fw.sh
@@ -65,21 +65,18 @@ gnunet-namestore -D -z g
65# Starting to resolve 65# Starting to resolve
66echo "+++ Starting to Resolve +++" 66echo "+++ Starting to Resolve +++"
67 67
68DELS=`$DO_TIMEOUT gnunet-credential --collect --issuer=$AKEY --attribute="a" --ego=g --forward --backward -c test_credential_lookup.conf | paste -d, -s` 68DELS=`$DO_TIMEOUT gnunet-credential --collect --issuer=$AKEY --attribute="a" --ego=g --forward --backward -c test_credential_lookup.conf | paste -d, -s - -`
69echo $DELS 69echo $DELS
70echo gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$GKEY --delegate=\'$DELS\' --forward --backward -c test_credential_lookup.conf 70echo gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$GKEY --delegate=\'$DELS\' --forward --backward -c test_credential_lookup.conf
71RES_DELS=`gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$GKEY --delegate="$DELS" --forward --backward -c test_credential_lookup.conf` 71RES_DELS=`gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$GKEY --delegate="$DELS" --forward --backward -c test_credential_lookup.conf`
72 72
73# Cleanup properly 73# Cleanup properly
74gnunet-namestore -z a -d -n "@"-t DELE -c test_credential_lookup.conf 74gnunet-namestore -z a -d -n "a" -t ATTR -c test_credential_lookup.conf
75gnunet-namestore -z epub -d -n $DISC_ATTR -t ATTR -c test_credential_lookup.conf 75gnunet-namestore -z b -d -n "b" -t ATTR -c test_credential_lookup.conf
76gnunet-namestore -z eorg -d -n $PREF_ATTR -t ATTR -c test_credential_lookup.conf 76gnunet-namestore -z d -d -n "@" -t DEL -c test_credential_lookup.conf
77gnunet-namestore -z stateu -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 a -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 d -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 79gnunet-namestore -z g -d -n "@" -t DEL -c test_credential_lookup.conf
80#gnunet-namestore -z e -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf
81#gnunet-namestore -z f -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf
82#gnunet-namestore -z g -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf
83 80
84gnunet-arm -e -c test_credential_lookup.conf 81gnunet-arm -e -c test_credential_lookup.conf
85 82