aboutsummaryrefslogtreecommitdiff
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.sh16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/credential/test_credential_bi_and.sh b/src/credential/test_credential_bi_and.sh
index c69aea53f..b5b55031c 100755
--- a/src/credential/test_credential_bi_and.sh
+++ b/src/credential/test_credential_bi_and.sh
@@ -70,20 +70,18 @@ gnunet-namestore -D -z h
70# Starting to resolve 70# Starting to resolve
71echo "+++ Starting to Resolve +++" 71echo "+++ Starting to Resolve +++"
72 72
73DELS=`$DO_TIMEOUT gnunet-credential --collect --issuer=$AKEY --attribute="a" --ego=f --forward --backward -c test_credential_lookup.conf | paste -d, -s` 73DELS=`$DO_TIMEOUT gnunet-credential --collect --issuer=$AKEY --attribute="a" --ego=f --forward --backward -c test_credential_lookup.conf | paste -d, -s - -`
74echo $DELS 74echo $DELS
75echo gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate=\'$DELS\' --forward --backward -c test_credential_lookup.conf 75echo gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate=\'$DELS\' --forward --backward -c test_credential_lookup.conf
76RES_DELS=`gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate="$DELS" --forward --backward -c test_credential_lookup.conf` 76RES_DELS=`gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate="$DELS" --forward --backward -c test_credential_lookup.conf`
77 77
78# Cleanup properly 78# Cleanup properly
79gnunet-namestore -z epub -d -n $DISC_ATTR -t ATTR -c test_credential_lookup.conf 79gnunet-namestore -z a -d -n "a" -t ATTR -c test_credential_lookup.conf
80gnunet-namestore -z eorg -d -n $PREF_ATTR -t ATTR -c test_credential_lookup.conf 80gnunet-namestore -z b -d -n "b" -t ATTR -c test_credential_lookup.conf
81gnunet-namestore -z stateu -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 81gnunet-namestore -z g -d -n "g" -t ATTR -c test_credential_lookup.conf
82#gnunet-namestore -z a -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 82gnunet-namestore -z d -d -n "@" -t DEL -c test_credential_lookup.conf
83#gnunet-namestore -z d -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 83gnunet-namestore -z e -d -n "@" -t DEL -c test_credential_lookup.conf
84#gnunet-namestore -z e -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 84gnunet-namestore -z f -d -n "@" -t DEL -c test_credential_lookup.conf
85#gnunet-namestore -z f -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf
86#gnunet-namestore -z g -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf
87 85
88gnunet-arm -e -c test_credential_lookup.conf 86gnunet-arm -e -c test_credential_lookup.conf
89 87