diff options
author | Andreas Ebner <pansy007@googlemail.com> | 2019-06-25 15:21:12 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-10-07 12:15:06 +0200 |
commit | d2634b1f96dfd55ae4daef294bb6c05d687354c8 (patch) | |
tree | 85250438ba58e5c33c30003bde8e4a6bccf13ca8 /src/credential/test_credential_verify_and.sh | |
parent | 921b03e4cee5653083e61de42ced85a7278647b2 (diff) | |
download | gnunet-d2634b1f96dfd55ae4daef294bb6c05d687354c8.tar.gz gnunet-d2634b1f96dfd55ae4daef294bb6c05d687354c8.zip |
Handle all credential storage via credential service, prepared for subject side storage
- new commandline parameters
- new gns record type: DELEGATE for subject side storage
- credential connection to namestore
- store all credentials via credential service (replacing namestore)
- stable, but experimental implementation, atm just using existing methods, next step: introduce own methods and replace/rename existing variables
Diffstat (limited to 'src/credential/test_credential_verify_and.sh')
-rwxr-xr-x | src/credential/test_credential_verify_and.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/credential/test_credential_verify_and.sh b/src/credential/test_credential_verify_and.sh index fa0ab34e1..aaabcd753 100755 --- a/src/credential/test_credential_verify_and.sh +++ b/src/credential/test_credential_verify_and.sh | |||
@@ -17,8 +17,8 @@ rm -rf `gnunet-config -c test_credential_lookup.conf -s PATHS -o GNUNET_HOME -f` | |||
17 | 17 | ||
18 | # (1) Service.user -> GNU.project.member | 18 | # (1) Service.user -> GNU.project.member |
19 | # (2) GNU.project -> GNUnet | 19 | # (2) GNU.project -> GNUnet |
20 | # (3) GNUnet.member -> GNUnet.developer and GNUnet.user | 20 | # (3) GNUnet.member -> GNUnet.developer and (4)GNUnet.user |
21 | # (4) GNUnet.developer -> Alice | 21 | # (5) GNUnet.developer -> Alice |
22 | 22 | ||
23 | 23 | ||
24 | which timeout > /dev/null 2>&1 && DO_TIMEOUT="timeout 30" | 24 | which timeout > /dev/null 2>&1 && DO_TIMEOUT="timeout 30" |
@@ -73,10 +73,9 @@ gnunet-arm -e -c test_credential_lookup.conf | |||
73 | 73 | ||
74 | if [ "$RES_CRED" != "Failed." ] | 74 | if [ "$RES_CRED" != "Failed." ] |
75 | then | 75 | then |
76 | # TODO: echo -e bashism | ||
77 | echo -e "${RES_CRED}" | 76 | echo -e "${RES_CRED}" |
78 | exit 0 | 77 | exit 0 |
79 | else | 78 | else |
80 | echo "FAIL: Failed to verify credential $RES_CRED." | 79 | echo "FAIL: Failed to verify credential $RES_CRED." |
81 | exit 1 | 80 | exit 1 |
82 | fi | 81 | fi \ No newline at end of file |