summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_handle.c
AgeCommit message (Collapse)Author
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
2021-10-27rename festChristian Grothoff
2021-10-27-fix misc FTBFSChristian Grothoff
2021-10-27-more changes towards fixing FTBFSChristian Grothoff
2021-10-19-fix null derefChristian Grothoff
2021-10-16new configuration option: wallet balance thresholdChristian Grothoff
2021-10-10-finish implemnetation of /kyc-check client libraryChristian Grothoff
2021-08-07-even betterChristian Grothoff
2021-08-07-use new GNUNET_TIME_relative_is_zero APIChristian Grothoff
2021-07-31-more eliminations of json_packChristian Grothoff
2021-07-24fix #6939 in exchangeChristian Grothoff
2021-05-28-not a protocol violation, can happen if auditor signed denominations that ↵Christian Grothoff
are valid for deposit but not withdraw
2021-05-27deal more nicely with /keys failures where no JSON is returnedChristian Grothoff
2021-04-14do not repeatedly append the same auditor signatureChristian Grothoff
2021-04-01fix overflowChristian Grothoff
2021-03-13improve version number format checkChristian Grothoff
2021-03-13improve version number format checkChristian Grothoff
2021-03-05fix #6786: do not die on bogus URLChristian Grothoff
2021-02-16free currency memory on free_key_data(), ref #6744Sebastian
2021-02-15fix currency parsing in deserialization logic (resolves #6744)Christian Grothoff
2021-02-15added missing currency in ser/deser, see #6744Sebastian
2021-01-26strptime is locale-dependent, re-implement for C locale-onlyChristian Grothoff
2021-01-26improve loggingChristian Grothoff
2021-01-16nah, also on internal server errors and anything I can imagine we should ↵Christian Grothoff
backoff, not just on timeout
2021-01-16remove dead fieldChristian Grothoff
2021-01-12dynamic curl timeouts for /keys and /wire requestsFlorian Dold
2021-01-01bump protocol versionChristian Grothoff
2020-12-20only log with json_dumpf() if explicitly compiled via DEBUG #defineChristian Grothoff
2020-12-20do not log error on MHD_HTTP_GONE status code, revocation is a legitimate replyChristian Grothoff
2020-12-20misc doxygen fixesChristian Grothoff
2020-12-12allow empty signkeys arrayChristian Grothoff
2020-12-08initialize master_pub fieldChristian Grothoff
2020-12-06implement new taler-auditor-offline toolChristian Grothoff
2020-12-05towards offline tool uploading /management/keysChristian Grothoff
2020-12-04centralize (most) offline signing/verifying operations into offline_signatures.cChristian Grothoff
2020-11-07adjust ECsChristian Grothoff
2020-07-22fix misc typosChristian Grothoff