frosix

Multiparty signature service (experimental)
Log | Files | Refs | README | LICENSE

commit 77cb58a31c462dc03f7476b37fe618fff0f1f7ad
parent e367b7a38aba13b517741229d2580fa647775f49
Author: Joel Urech <joeltobias.urech@students.bfh.ch>
Date:   Mon, 26 Jun 2023 20:22:27 +0200

remove liability limit

Diffstat:
Msrc/backend/frosix-httpd.c | 16++--------------
Msrc/backend/frosix-httpd_config.c | 2--
Msrc/backend/frosix.conf | 19+++----------------
Msrc/cli/frosix-cli.c | 10+++++-----
Msrc/restclient/frosix_api_config.c | 2--
5 files changed, 10 insertions(+), 39 deletions(-)

diff --git a/src/backend/frosix-httpd.c b/src/backend/frosix-httpd.c @@ -49,7 +49,7 @@ struct TALER_Amount FH_signature_creation_fee; /** * Amount of insurance. */ -struct TALER_Amount FH_insurance; +// struct TALER_Amount FH_insurance; /** * Cost for secure question truth download. @@ -854,18 +854,6 @@ run (void *cls, NULL); if (GNUNET_OK != TALER_config_get_amount (config, - "frosix", - "INSURANCE", - &FH_insurance)) - { - GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, - "frosix", - "INSURANCE"); - GNUNET_SCHEDULER_shutdown (); - return; - } - if (GNUNET_OK != - TALER_config_get_amount (config, "authorization-question", "COST", &FH_question_cost)) @@ -1097,7 +1085,7 @@ run (void *cls, db->connect (db->cls)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Database not setup. Did you run anastasis-dbinit?\n"); + "Database not setup. Did you run frosix-dbinit?\n"); GNUNET_SCHEDULER_shutdown (); return; } diff --git a/src/backend/frosix-httpd_config.c b/src/backend/frosix-httpd_config.c @@ -113,8 +113,6 @@ FH_handler_config (struct FH_RequestHandler *rh, &FH_annual_fee), TALER_JSON_pack_amount ("signature_creation_fee", &FH_signature_creation_fee), - TALER_JSON_pack_amount ("liability_limit", - &FH_insurance), GNUNET_JSON_pack_data_auto ("provider_salt", &FH_provider_salt), GNUNET_JSON_pack_data_auto ("public_key", diff --git a/src/backend/frosix.conf b/src/backend/frosix.conf @@ -26,28 +26,16 @@ UNIXPATH_MODE = 660 # Which database backend do we use? DB = postgres -# Display name of the business running this anastasis provider. -BUSINESS_NAME = FROSIX +# Display name of the business running this Frosix provider. +BUSINESS_NAME = Frosix # Annual fee for an account ANNUAL_FEE = TESTKUDOS:0.1 -# Number of policy uploads included in one annual fee payment -#ANNUAL_POLICY_UPLOAD_LIMIT = 64 - -# Insurance -INSURANCE = TESTKUDOS:1.0 - -# Fee for one upload. -#TRUTH_UPLOAD_FEE = TESTKUDOS:0.1 - # Fee for the creation of one signature SIGNATURE_CREATION_FEE = TESTKUDOS:0.1 -# Upload limit per backup, in megabytes -#UPLOAD_LIMIT_MB = 16 - -# Fulfillment URL of the ANASTASIS service itself. +# Fulfillment URL of the Frosix service itself. FULFILLMENT_URL = taler://fulfillment-success # Server salt 16 Byte @@ -65,7 +53,6 @@ TERMS_DIR = ${DATADIR}tos/ # Etag / filename for the terms of service. TERMS_ETAG = 0 - # Directory with our privacy policy. PRIVACY_DIR = ${DATADIR}pp/ diff --git a/src/cli/frosix-cli.c b/src/cli/frosix-cli.c @@ -14,8 +14,8 @@ Frosix; see the file COPYING.GPL. If not, see <http://www.gnu.org/licenses/> */ /** - * @file cli/frosix-cli-redux.c - * @brief command line tool for our reducer + * @file cli/frosix-cli.c + * @brief command line tool for Frosix client * @author Christian Grothoff * @author Dennis Neufeld * @author Dominik Meister @@ -37,7 +37,7 @@ static struct GNUNET_CURL_RescheduleContext *rc; /** - * Curl context for communication with anastasis backend + * Curl context for communication with Frosix backend */ static struct GNUNET_CURL_Context *ctx; @@ -57,7 +57,7 @@ static char *output_filename = NULL; static char *message = NULL; /** - * JSON containing arguments for action + * JSON containing additional arguments */ static json_t *arguments; @@ -552,7 +552,7 @@ main (int argc, GNUNET_OS_init (FROSIX_project_data_default ()); ret = GNUNET_PROGRAM_run (argc, argv, - "frosix-reducer", + "frosix-cli", "This is an application for using Frosix.\n", options, &run, diff --git a/src/restclient/frosix_api_config.c b/src/restclient/frosix_api_config.c @@ -87,8 +87,6 @@ handle_config_finished (void *cls, &fcfg.annual_fee), TALER_JSON_spec_amount_any ("signature_creation_fee", &fcfg.signature_creation_fee), - TALER_JSON_spec_amount_any ("liability_limit", - &fcfg.liability_limit), GNUNET_JSON_spec_fixed_auto ("provider_salt", &fcfg.provider_salt), GNUNET_JSON_spec_fixed_auto ("public_key",