summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_handle.c
AgeCommit message (Collapse)Author
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
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