anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

commit 7f2521a396054022b6808ff416ab254c50a60303
parent dec3f3dd1854a6febfd878545f1c623f2bcc432b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  7 Apr 2025 13:14:28 +0200

'default' instance is now 'admin' instance

Diffstat:
Msrc/cli/test_anastasis_reducer_enter_secret.sh | 2+-
Msrc/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh | 2+-
Msrc/testing/test_anastasis.c | 4++--
Msrc/testing/test_anastasis_api.c | 4++--
4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/cli/test_anastasis_reducer_enter_secret.sh b/src/cli/test_anastasis_reducer_enter_secret.sh @@ -146,7 +146,7 @@ echo "OK" echo -n "Configuring merchant instance ..." # Setup merchant -curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"id":"default","name":"default","user_type":"business","address":{},"jurisdiction":{},"use_stefan":true,"default_wire_transfer_delay":{"d_us" : 3600000000},"default_pay_delay":{"d_us": 3600000000}}' http://localhost:9966/management/instances +curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"id":"admin","name":"default","user_type":"business","address":{},"jurisdiction":{},"use_stefan":true,"default_wire_transfer_delay":{"d_us" : 3600000000},"default_pay_delay":{"d_us": 3600000000}}' http://localhost:9966/management/instances curl -H "Content-Type: application/json" -X POST -d '{"payto_uri":"'"$MERCHANT_PAYTO"'"}' http://localhost:9966/private/accounts diff --git a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh @@ -180,7 +180,7 @@ echo "OK" echo -n "Configuring merchant instance ..." # Setup merchant -curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"id":"default","name":"default","user_type":"business","address":{},"jurisdiction":{},"use_stefan":true,"default_wire_transfer_delay":{"d_us" : 3600000000},"default_pay_delay":{"d_us": 3600000000}}' http://localhost:9966/management/instances +curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"id":"admin","name":"default","user_type":"business","address":{},"jurisdiction":{},"use_stefan":true,"default_wire_transfer_delay":{"d_us" : 3600000000},"default_pay_delay":{"d_us": 3600000000}}' http://localhost:9966/management/instances curl -H "Content-Type: application/json" -X POST -d '{"payto_uri":"'"$MERCHANT_PAYTO"'"}' http://localhost:9966/private/accounts diff --git a/src/testing/test_anastasis.c b/src/testing/test_anastasis.c @@ -331,9 +331,9 @@ run (void *cls, NULL, true, true), - TALER_TESTING_cmd_merchant_post_instances ("instance-create-default", + TALER_TESTING_cmd_merchant_post_instances ("instance-create-admin", merchant_url, - "default", + "admin", MHD_HTTP_NO_CONTENT), TALER_TESTING_cmd_merchant_post_account ( "instance-create-default-account", diff --git a/src/testing/test_anastasis_api.c b/src/testing/test_anastasis_api.c @@ -279,9 +279,9 @@ run (void *cls, NULL, true, true), - TALER_TESTING_cmd_merchant_post_instances ("instance-create-default", + TALER_TESTING_cmd_merchant_post_instances ("instance-create-admin", merchant_url, - "default", + "admin", MHD_HTTP_NO_CONTENT), TALER_TESTING_cmd_merchant_post_account ( "instance-create-default-account",