diff options
Diffstat (limited to 'src/credential/test_credential_bi_and3.sh')
-rwxr-xr-x | src/credential/test_credential_bi_and3.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/credential/test_credential_bi_and3.sh b/src/credential/test_credential_bi_and3.sh index e2f167622..80dddcc14 100755 --- a/src/credential/test_credential_bi_and3.sh +++ b/src/credential/test_credential_bi_and3.sh | |||
@@ -36,8 +36,8 @@ EKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep e | awk '{print | |||
36 | FKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep f | awk '{print $3}') | 36 | FKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep f | awk '{print $3}') |
37 | GKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep g | awk '{print $3}') | 37 | GKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep g | awk '{print $3}') |
38 | HKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep h | awk '{print $3}') | 38 | HKEY=$(gnunet-identity -d -c test_credential_lookup.conf | grep h | awk '{print $3}') |
39 | |||
40 | gnunet-identity -d | 39 | gnunet-identity -d |
40 | |||
41 | # (1) (A.a) <- B.b | 41 | # (1) (A.a) <- B.b |
42 | # (2) (B.b) <- C.c AND G.g | 42 | # (2) (B.b) <- C.c AND G.g |
43 | # (3) C.c <- (D.d) | 43 | # (3) C.c <- (D.d) |
@@ -53,18 +53,18 @@ gnunet-credential --createIssuerSide --ego=b --attribute="b" --subject="$CKEY c, | |||
53 | gnunet-namestore -D -z b | 53 | gnunet-namestore -D -z b |
54 | 54 | ||
55 | SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=c --attribute="c" --subject="$DKEY d" --ttl="2019-12-12 10:00:00"` | 55 | SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=c --attribute="c" --subject="$DKEY d" --ttl="2019-12-12 10:00:00"` |
56 | gnunet-credential --createSubjectSide --ego=d --import "$SIGNED" | 56 | gnunet-credential --createSubjectSide --ego=d --import="$SIGNED" |
57 | gnunet-namestore -D -z d | 57 | gnunet-namestore -D -z d |
58 | SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=d --attribute="d" --subject="$EKEY e" --ttl="2019-12-12 10:00:00"` | 58 | SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=d --attribute="d" --subject="$EKEY e" --ttl="2019-12-12 10:00:00"` |
59 | gnunet-credential --createSubjectSide --ego=e --import "$SIGNED" | 59 | gnunet-credential --createSubjectSide --ego=e --import="$SIGNED" |
60 | gnunet-namestore -D -z e | 60 | gnunet-namestore -D -z e |
61 | SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=g --attribute="g" --subject="$HKEY h" --ttl="2019-12-12 10:00:00"` | 61 | SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=g --attribute="g" --subject="$HKEY h" --ttl="2019-12-12 10:00:00"` |
62 | gnunet-credential --createSubjectSide --ego=h --import "$SIGNED" | 62 | gnunet-credential --createSubjectSide --ego=h --import="$SIGNED" |
63 | gnunet-namestore -D -z h | 63 | gnunet-namestore -D -z h |
64 | SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=e --attribute="e" --subject="$FKEY" --ttl="2019-12-12 10:00:00"` | 64 | SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=e --attribute="e" --subject="$FKEY" --ttl="2019-12-12 10:00:00"` |
65 | gnunet-credential --createSubjectSide --ego=f --import "$SIGNED" --private | 65 | gnunet-credential --createSubjectSide --ego=f --import="$SIGNED" --private |
66 | SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=h --attribute="h" --subject="$FKEY" --ttl="2019-12-12 10:00:00"` | 66 | SIGNED=`$DO_TIMEOUT gnunet-credential --signSubjectSide --ego=h --attribute="h" --subject="$FKEY" --ttl="2019-12-12 10:00:00"` |
67 | gnunet-credential --createSubjectSide --ego=f --import "$SIGNED" --private | 67 | gnunet-credential --createSubjectSide --ego=f --import="$SIGNED" --private |
68 | gnunet-namestore -D -z f | 68 | gnunet-namestore -D -z f |
69 | 69 | ||
70 | # Starting to resolve | 70 | # Starting to resolve |