aboutsummaryrefslogtreecommitdiff
path: root/src/identity-provider/test_idp_consume.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/identity-provider/test_idp_consume.sh')
-rwxr-xr-xsrc/identity-provider/test_idp_consume.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/identity-provider/test_idp_consume.sh b/src/identity-provider/test_idp_consume.sh
index 0d05145e0..81cd0b149 100755
--- a/src/identity-provider/test_idp_consume.sh
+++ b/src/identity-provider/test_idp_consume.sh
@@ -24,6 +24,7 @@ which timeout &> /dev/null && DO_TIMEOUT="timeout 30"
24 24
25TEST_ATTR="test" 25TEST_ATTR="test"
26gnunet-arm -s -c test_idp.conf 26gnunet-arm -s -c test_idp.conf
27gnunet-arm -i rest -c test_idp.conf
27gnunet-identity -C testego -c test_idp.conf 28gnunet-identity -C testego -c test_idp.conf
28gnunet-identity -C rpego -c test_idp.conf 29gnunet-identity -C rpego -c test_idp.conf
29SUBJECT_KEY=$(gnunet-identity -d -c test_idp.conf | grep rpego | awk '{print $3}') 30SUBJECT_KEY=$(gnunet-identity -d -c test_idp.conf | grep rpego | awk '{print $3}')
@@ -33,4 +34,5 @@ gnunet-idp -e testego -a name -V John -c test_idp.conf > /dev/null 2>&1
33TICKET=$(gnunet-idp -e testego -i "email,name" -r $SUBJECT_KEY -c test_idp.conf | awk '{print $1}') 34TICKET=$(gnunet-idp -e testego -i "email,name" -r $SUBJECT_KEY -c test_idp.conf | awk '{print $1}')
34echo "Consuming ticket $TICKET" 35echo "Consuming ticket $TICKET"
35gnunet-idp -e rpego -C $TICKET -c test_idp.conf 36gnunet-idp -e rpego -C $TICKET -c test_idp.conf
37curl http://localhost:7776/idp/tickets/testego
36gnunet-arm -e -c test_idp.conf 38gnunet-arm -e -c test_idp.conf