aboutsummaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_handle.c
AgeCommit message (Collapse)Author
2023-07-05-misc minor fixesv0.9.3-dev.3Christian Grothoff
2023-07-04-bugfixesChristian Grothoff
2023-07-04more exchange API refactoringChristian Grothoff
2023-07-03[age-withdraw] added library function for age-withdrawÖzgür Kesim
- Added TALER_EXCHANGE_age_withdraw - Also: Change TALER_EXCHANGE_batch_withdraw and related functions to use GNUNET_CURL_ctx, TALER_EXCHANGE_keys and const char *echange_url
2023-06-25next round of exchange API atomizationChristian Grothoff
2023-06-25more work on atomizing exchange API: depositChristian Grothoff
2023-06-21-more clean up of auditor api: atomization completeChristian Grothoff
2023-06-21-more auditor API atomizationChristian Grothoff
2023-06-21ensure forward-compatibility for auditor C APIChristian Grothoff
2023-06-07major libtalertesting API refactoring, including no longer having ↵Christian Grothoff
taler-specific logic in the test engine core
2023-06-04code cleanup, fixing misc. memory leaks in the processChristian Grothoff
2023-05-13return tipping_allowed from /keysChristian Grothoff
2023-05-10fix 0-length VLAsChristian Grothoff
2023-05-01breaking protocol changes towards fixing #7810 (incomplete, ↵Christian Grothoff
taler-exchange-offline still unfinished)
2022-12-29-fix SQLChristian Grothoff
2022-12-11add asset_type to /keys responseChristian Grothoff
2022-11-04policy extensions and age restriction refactoringÖzgür Kesim
- refactoring of extension-plugin-mechanism - refactoring of age restriction extension - added policy extensions plugin plumbing - added DB schema and api - policy_details - policy_fulfillments
2022-11-01remove wad fee, kyc fee and kyc-timeoutChristian Grothoff
2022-08-22-fix clang compiler warningsChristian Grothoff
2022-08-11major rework of the KYC logic, making it more configurable, not complete, ↵Christian Grothoff
but tests pass again
2022-07-01-exchange_api_batch_deposit.c compilesChristian Grothoff
2022-06-29-reduce loggingChristian Grothoff
2022-06-29version bump due to new /keys responseÖzgür Kesim
2022-06-27better api for parsing a denomination groupÖzgür Kesim
2022-06-27[new /keys response] added proper hash verificationÖzgür Kesim
- Running XOR of all SHA-512 hashes of each denomination's public key is compared against the "hash" value in the JSON blob. - Fixed a bug during creation of the running XOR.
2022-06-26[new /keys response] create and parse denomination implementedÖzgür Kesim
- /keys response now contains signed denomintations - hashes of denominations now XOR'ed per group into a single hash-code - final hash-code is now XOR of all group hash codes - final hash-code is signed - lib/exchange_api_handle support for new "denominations" implemented - parses array of denomation groups - creates running xor of hashes - verifies signature at the end - previous diff/merge logic for keys remains intact.
2022-05-07-fix leaksChristian Grothoff
2022-04-24-fix fieldnames, regenerated DBsChristian Grothoff
2022-04-05adapt to latest GNUnet API: GNUNET_JSON_spec_mark_optional() changedChristian Grothoff
2022-03-29centralize exchange online signature logicChristian Grothoff
2022-03-20towards support for new reserve history/status APIsChristian Grothoff
2022-03-20return new global fees from /keysChristian Grothoff
2022-03-19-fix memory leak introduced by OecChristian Grothoff
2022-03-19-minor code cleanupChristian Grothoff
2022-03-19improve style of some SQL queries (no semantic change)Christian Grothoff
2022-02-21-big renaming of structs for consistent naming with P suffixChristian Grothoff
2022-02-17-fix CS nonce reuse check logicChristian Grothoff
2022-02-16[age restriction] progress 14/n - withdraw and depositÖzgür Kesim
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-01-23[age_restriction] progress 13/nÖzgür Kesim
- major refactoring of extensions - extensions live now in a separate library, libtalerextensions - refactored all components using age_restriction accordingly - plumbing for plugin support for extensions roughly layed down
2022-01-21[age restriction] progress 12/nÖzgür Kesim
- taler-offline-tool now handles extensions - command "extensions" added with subcommands "show" and "sign" - parses extensions from taler config - shows and signs of extensions and their configurations - creates signed set of configurations for upload - added test for retrieval of extension config - simplified signature verification for extensions - remove per-extension signatures, also from DB schema - adjust prepared statements accordingly - adjust DB event handler for extensions - allow NULL for config for extension in DB schema - handler for /management/extensions adjusted to new datastructures - changed test for TALER_denom_blind/TALER_denom_sign_blinded with and without TALER_AgeHash - minor updates and various fixes
2022-01-10[age restriction] progress 11/nÖzgür Kesim
Parse age restriction information from "/keys" - parse "age_restriction" extension, extract mask for age groups - parse denominations from "age_restricted_denoms", too, if available
2021-12-25protocol v12 changes (/recoup split, signature changes) plus database ↵Christian Grothoff
sharding plus O(n^2)=>O(n) worst-case complexity reduction on coin balance checks
2021-12-14introducing GNUNET_TIME_Timestamp, recoup now with amountsChristian Grothoff
2021-12-11fix #7123Christian Grothoff
2021-12-08loggingChristian Grothoff
2021-12-08tolerate missing 'Expire' header betterChristian Grothoff
2021-11-25fix #7105 (for exchange)Christian Grothoff
2021-11-23protocol bump, ignore eintrv0.9.0-dev.1Christian Grothoff
2021-11-19-fix misc. compiler warningsChristian Grothoff
2021-10-27fix lib/ FTBFSChristian Grothoff