diff options
Diffstat (limited to 'src/identity-provider/test_idp_consume.sh')
-rwxr-xr-x | src/identity-provider/test_idp_consume.sh | 2 |
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 | ||
25 | TEST_ATTR="test" | 25 | TEST_ATTR="test" |
26 | gnunet-arm -s -c test_idp.conf | 26 | gnunet-arm -s -c test_idp.conf |
27 | gnunet-arm -i rest -c test_idp.conf | ||
27 | gnunet-identity -C testego -c test_idp.conf | 28 | gnunet-identity -C testego -c test_idp.conf |
28 | gnunet-identity -C rpego -c test_idp.conf | 29 | gnunet-identity -C rpego -c test_idp.conf |
29 | SUBJECT_KEY=$(gnunet-identity -d -c test_idp.conf | grep rpego | awk '{print $3}') | 30 | SUBJECT_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 | |||
33 | TICKET=$(gnunet-idp -e testego -i "email,name" -r $SUBJECT_KEY -c test_idp.conf | awk '{print $1}') | 34 | TICKET=$(gnunet-idp -e testego -i "email,name" -r $SUBJECT_KEY -c test_idp.conf | awk '{print $1}') |
34 | echo "Consuming ticket $TICKET" | 35 | echo "Consuming ticket $TICKET" |
35 | gnunet-idp -e rpego -C $TICKET -c test_idp.conf | 36 | gnunet-idp -e rpego -C $TICKET -c test_idp.conf |
37 | curl http://localhost:7776/idp/tickets/testego | ||
36 | gnunet-arm -e -c test_idp.conf | 38 | gnunet-arm -e -c test_idp.conf |