summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin <ga84zod@tum.de>2022-01-26 10:57:13 +0100
committermartin <ga84zod@tum.de>2022-01-26 10:57:13 +0100
commit579a15eb9aea8fe00554d023a39d2d6384c3088c (patch)
treeb4251ba3998856702bcb003a8ff70c273620c329
parenta7a8b1525f89ff66336c382187645bbc13f32f35 (diff)
-fixed test
-rwxr-xr-xsrc/abd/test_abd_verify_and.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/abd/test_abd_verify_and.sh b/src/abd/test_abd_verify_and.sh
index c6287055e..574d3aad0 100755
--- a/src/abd/test_abd_verify_and.sh
+++ b/src/abd/test_abd_verify_and.sh
@@ -42,21 +42,21 @@ DEV_ATTR="developer"
gnunet-identity -d
# (1) A service assigns the attribute "user" to all entities that have been assigned "member" by entities that werde assigned "project" from GNU
-gnunet-abd --createIssuerSide --ego=service --attribute="$USER_ATTR" --subject="$GNU_KEY $GNU_PROJECT_ATTR.$MEMBER_ATTR" --ttl="2019-12-12 10:00:00" -c test_abd_lookup.conf
+gnunet-abd --createIssuerSide --ego=service --attribute="$USER_ATTR" --subject="$GNU_KEY $GNU_PROJECT_ATTR.$MEMBER_ATTR" --ttl="2049-12-12 10:00:00" -c test_abd_lookup.conf
gnunet-namestore -D -z service
# (2) GNU recognized GNUnet as a GNU project and delegates the "project" attribute
-gnunet-abd --createIssuerSide --ego=gnu --attribute="$GNU_PROJECT_ATTR" --subject="$GNUNET_KEY" --ttl="2019-12-12 10:00:00" -c test_abd_lookup.conf
+gnunet-abd --createIssuerSide --ego=gnu --attribute="$GNU_PROJECT_ATTR" --subject="$GNUNET_KEY" --ttl="2049-12-12 10:00:00" -c test_abd_lookup.conf
gnunet-namestore -D -z gnu
# (3+4) GNUnet assigns the attribute "member" to all entities gnunet has also assigned "developer" or "user"
-gnunet-abd --createIssuerSide --ego=gnunet --attribute="$MEMBER_ATTR" --subject="$GNUNET_KEY $DEVELOPER_ATTR, $GNUNET_KEY $USER_ATTR" --ttl="2019-12-12 10:00:00" -c test_abd_lookup.conf
+gnunet-abd --createIssuerSide --ego=gnunet --attribute="$MEMBER_ATTR" --subject="$GNUNET_KEY $DEVELOPER_ATTR, $GNUNET_KEY $USER_ATTR" --ttl="2049-12-12 10:00:00" -c test_abd_lookup.conf
gnunet-namestore -D -z gnunet
# (5) GNUnet signes the delegates and Alice stores it
-SIGNED=`$DO_TIMEOUT gnunet-abd --signSubjectSide --ego=gnunet --attribute=$DEV_ATTR --subject=$ALICE_KEY --ttl="2019-12-12 10:00:00"`
+SIGNED=`$DO_TIMEOUT gnunet-abd --signSubjectSide --ego=gnunet --attribute=$DEV_ATTR --subject=$ALICE_KEY --ttl="2049-12-12 10:00:00"`
gnunet-abd --createSubjectSide --ego=alice --import="$SIGNED" --private
-SIGNED=`$DO_TIMEOUT gnunet-abd --signSubjectSide --ego=gnunet --attribute=$USER_ATTR --subject=$ALICE_KEY --ttl="2019-12-12 10:00:00"`
+SIGNED=`$DO_TIMEOUT gnunet-abd --signSubjectSide --ego=gnunet --attribute=$USER_ATTR --subject=$ALICE_KEY --ttl="2049-12-12 10:00:00"`
gnunet-abd --createSubjectSide --ego=alice --import="$SIGNED" --private
gnunet-namestore -D -z alice