exchange/src/lib
Özgür Kesim 8bdf6ab19d
[age restriction] progress 14/n - withdraw and deposit
Age restriction support for
  - withdraw is done and tested
  - deposit is done and tested

TODOs:
  - melt/refresh/reveal
  - link

------

Added functions
 - TALER_age_restriction_commit
 - TALER_age_commitment_derive
 - TALER_age_commitment_hash
 - TALER_age_restriction_commitment_free_inside
 - Hash of age commitment passed around API boundaries

Exchangedb adjustments for denominations
 - all prepared statements re: denominations now handle age_mask
 - signature parameters adjusted

Hash and signature verification of /keys adjusted
 - Hashes of (normal) denominations and age-restricted denominations are
   calculated seperately
 - The hash of the age-restricted ones will then be added to the other
   hash
 - The total hash is signed/verified

Tests for withdraw with age restriction added
 - TALER_EXCHANGE_DenomPublickey now carries age_mask
 - TALER_TESTING_cmd_withdraw_amount* takes age parameter
 - TALER_TESTING_find_pk takes boolean age_restricted
 - WithdrawState carries age_commitment and its hash
 - withdraw_run derives new age commitment, if applicable
 - Added age parameter to testing (13 as example)

Various Fixes and changes
 - Fixes of post handler for /management/extensions
 - Fixes for offline tool extensions signing
 - Slight refactoring of extensions
 - Age restriction extension simplified
   - config is now global to extension
   - added global TEH_age_restriction_enabled and TEH_age_mask in
     taler-exchange-httpd
   - helper functions and macros introduced
2022-02-16 22:01:05 +01:00
..
auditor_api_curl_defaults.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
auditor_api_curl_defaults.h rename BANK_excecute_wire_transfer to BANK_transfer, improve error handling when curl_easy_init() fails 2020-03-03 17:14:00 +01:00
auditor_api_deposit_confirmation.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
auditor_api_exchanges.c -more changes towards fixing FTBFS 2021-10-27 09:23:12 +02:00
auditor_api_handle.c -more doxygen fixes 2022-02-12 12:35:03 +01:00
auditor_api_handle.h rename BANK_excecute_wire_transfer to BANK_transfer, improve error handling when curl_easy_init() fails 2020-03-03 17:14:00 +01:00
exchange_api_auditor_add_denomination.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_common.c [age restriction] progress 14/n - withdraw and deposit 2022-02-16 22:01:05 +01:00
exchange_api_csr.c pass exchange values to /recoup 2022-02-09 22:02:29 +01:00
exchange_api_curl_defaults.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_curl_defaults.h limit redirects 2020-02-29 16:54:58 +01:00
exchange_api_deposit.c [age restriction] progress 14/n - withdraw and deposit 2022-02-16 22:01:05 +01:00
exchange_api_deposits_get.c -doxygen fixes 2022-02-12 11:12:33 +01:00
exchange_api_handle.c [age restriction] progress 14/n - withdraw and deposit 2022-02-16 22:01:05 +01:00
exchange_api_handle.h introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_kyc_check.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_kyc_proof.c -fix misc. compiler warnings 2021-11-19 10:57:27 +01:00
exchange_api_kyc_wallet.c -refactor to address FIXME 2022-02-12 12:20:12 +01:00
exchange_api_link.c [age restriction] progress 14/n - withdraw and deposit 2022-02-16 22:01:05 +01:00
exchange_api_management_auditor_disable.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_management_auditor_enable.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_management_get_keys.c [age restriction] progress 14/n - withdraw and deposit 2022-02-16 22:01:05 +01:00
exchange_api_management_post_extensions.c [age restriction] progress 14/n - withdraw and deposit 2022-02-16 22:01:05 +01:00
exchange_api_management_post_keys.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_management_revoke_denomination_key.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_management_revoke_signing_key.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_management_set_wire_fee.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_management_wire_disable.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_management_wire_enable.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_melt.c -remove redundancies in the refresh-melt computation and fix uninitialized bks return value 2022-02-13 12:44:09 +01:00
exchange_api_recoup_refresh.c -towards fixing the protocol 2022-02-14 23:02:25 +01:00
exchange_api_recoup.c -towards fixing the protocol 2022-02-14 23:02:25 +01:00
exchange_api_refresh_common.c [age restriction] progress 14/n - withdraw and deposit 2022-02-16 22:01:05 +01:00
exchange_api_refresh_common.h [age restriction] progress 14/n - withdraw and deposit 2022-02-16 22:01:05 +01:00
exchange_api_refreshes_reveal.c [age restriction] progress 14/n - withdraw and deposit 2022-02-16 22:01:05 +01:00
exchange_api_refund.c [age restriction] progress 14/n - withdraw and deposit 2022-02-16 22:01:05 +01:00
exchange_api_reserves_get.c complete implementation of long-polling for reserve status; remove support for multi-threaded exchange httpd 2021-08-23 00:00:32 +02:00
exchange_api_transfers_get.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_wire.c introducing GNUNET_TIME_Timestamp, recoup now with amounts 2021-12-14 16:04:40 +01:00
exchange_api_withdraw2.c -address misc. fixmes 2022-02-12 00:52:19 +01:00
exchange_api_withdraw.c [age restriction] progress 14/n - withdraw and deposit 2022-02-16 22:01:05 +01:00
Makefile.am implement exchange_api_csr 2022-02-04 15:33:07 +01:00