Commit Graph

276 Commits

Author SHA1 Message Date
Christian Grothoff
6a483b51ec
fix alignment issue, ensure we hash over packed structure to avoid non-determinism 2023-07-10 16:34:01 +02:00
Christian Grothoff
c57c3463d1
Tip => Reward 2023-07-10 10:34:33 +02:00
3024dc9fa5
fix memory leaks reported by valgrind 2023-07-10 10:23:52 +02:00
40629e8992
[age-withdraw] added library function for age-withdraw
- 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-07-03 16:18:40 +02:00
ddedf03a81
[age-withdraw] age-withdraw commit- and reveal-handlers implemented, 12/n
The handlers for the commit- and reveal-phases of the age-withdraw
HTTP-endpoints are implemented, yet not active.

Still missing:

- support for age-withdraw is missing in lib/.
- tests
2023-06-26 00:01:31 +02:00
Christian Grothoff
a2dde02b64
major libtalertesting API refactoring, including no longer having taler-specific logic in the test engine core 2023-06-07 23:11:05 +02:00
Christian Grothoff
75f75c4a51
breaking protocol changes towards fixing #7810 (incomplete, taler-exchange-offline still unfinished) 2023-05-01 22:34:35 +02:00
Christian Grothoff
4e9c43954e
-fix SQL query 2023-04-10 23:28:40 +02:00
838f6b7f1d
-fix comments for doxygen 2023-03-13 09:17:44 +01:00
837c53552e
-typo 2023-03-13 09:10:52 +01:00
6a3da22546
-typos 2023-03-13 09:01:29 +01:00
a2c70ff0c8
-typos 2023-03-13 08:53:16 +01:00
187ae6f8a2
WIP: age-withdraw, continue verify_commitment_and_max_age, 7/n
- coin, blinding, nonce and age restriction now derived from
  TALER_PlanchetMasterSecretP
- use max_age instead than max_age_group as argument
- Also, docs updated in other repo.
2023-03-13 00:31:49 +01:00
9c66f27034
WiP: age-withdraw, added TALER_age_restriction_commit_from_base, 6/n
Added TALER_age_restriction_commit_from_base in util/age_restriction.c,
to create a age commitment and proof from a coin's private key as
defined in
https://docs.taler.net/core/api-exchange.html#withdraw-with-age-restriction
2023-03-12 17:21:33 +01:00
5608a73c00
-simplify zero-check for age-commitment hash 2023-03-07 11:15:24 +01:00
priscilla
b46c03b2c9
totp algorithm 2023-03-02 09:55:24 -05:00
b4128c2c2a
WiP: age-withdraw implementation, part 1/n
Commit phase of the age-withdraw protocol implemented, according to
https://docs.taler.net/core/api-exchange.html#withdraw-with-age-restriction
2023-03-01 11:11:46 +01:00
Christian Grothoff
95bd24916e
skeleton logic for POS confirmation 2023-02-21 12:57:33 +01:00
Christian Grothoff
afe3f70d33
begin API change to allow AML officers to trigger KYC process 2023-02-14 14:26:00 +01:00
Christian Grothoff
3898054b10
more work on KYC/AML decision inspection 2023-02-02 14:55:56 +01:00
Christian Grothoff
e469e6698e
start work on AML decision query API 2023-02-01 17:00:51 +01:00
Christian Grothoff
59716ffdc4
add logic to store attributes 2023-01-27 16:09:25 +01:00
Christian Grothoff
d79c23aaab
add logic to store attributes 2023-01-27 15:10:25 +01:00
Christian Grothoff
4f0d85935f
-crypto for AML decision signatures 2023-01-01 18:36:54 +01:00
Christian Grothoff
c5ad98da98
write KYC attribute encryption logic 2022-12-31 15:10:35 +01:00
Christian Grothoff
26aa9d985e
expand DB API with AML functions, fix purse refund calculations in libtalerexchange 2022-12-29 11:48:57 +01:00
Christian Grothoff
8d0bf81801
-new crypto functions 2022-12-27 11:49:41 +01:00
Christian Grothoff
21959eebd2
fix FIXME: sign also over balance during account-setup 2022-12-06 13:02:54 +01:00
Christian Grothoff
9e4ac84b6e
force include of taler_util.h, not of taler_crypto_lib.h or taler_amount_lib.h 2022-12-05 14:03:43 +01:00
Christian Grothoff
9d43bf92c4
-doxygen 2022-11-21 14:56:46 +01:00
Christian Grothoff
8bfc6583e7
more refactoring towards #7272 2022-11-14 06:19:35 +01:00
Christian Grothoff
390d241019
implement CS batch operations in libtalerutil 2022-11-13 20:20:19 +01:00
Christian Grothoff
de2fdc2a9a
refactor CS derive API in preparation for batch API 2022-11-13 19:52:09 +01:00
Christian Grothoff
18aba0abbb
add batch logic to taler-exchange-secmod-cs 2022-11-13 19:03:52 +01:00
Christian Grothoff
9838e0fc33
API refactoring towards batch CS 2022-11-13 15:05:48 +01:00
Christian Grothoff
f2eba7b8b7
implement TALER_CRYPTO_helper_rsa_batch_sign 2022-11-13 12:39:10 +01:00
Christian Grothoff
f8e9241a3d
fix #7427 2022-11-06 22:29:51 +01:00
752f102738
policy extensions and age restriction refactoring
- 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-04 12:18:16 +01:00
9169f4447e
age mask clarification 2022-11-02 12:36:28 +01:00
Christian Grothoff
481ffc1a0a
remove wad fee, kyc fee and kyc-timeout 2022-11-01 16:43:59 +01:00
Christian Grothoff
22357678a0
purse auditor helper theoretically complete (but DB logic still missing) 2022-11-01 15:15:35 +01:00
Christian Grothoff
38876c503f
-refactor DB for reserve history/status routines 2022-10-15 16:19:14 +02:00
Christian Grothoff
4a36ed7fbf
complete taler-exchange-httpd_reserves_open.c logic (first pass, still without DB logic or tests) 2022-10-02 22:47:28 +02:00
Christian Grothoff
7bf0f2a43d
-doxygen 2022-10-01 16:35:13 +02:00
Christian Grothoff
2635f2e0b8
implement exchange_api_reserves_attest.c 2022-09-27 16:10:00 +02:00
Christian Grothoff
0de4db7755
implement libtalerexchange:reserve_close API 2022-09-27 15:21:51 +02:00
Christian Grothoff
2961c9b3f6
-doxygen fixes 2022-09-24 14:21:03 +02:00
Christian Grothoff
18a2fae3b5
add new signature functions for DD31 2022-09-18 17:36:35 +02:00
Christian Grothoff
b231cc94df
enforce syntax of reserve_uri 2022-08-23 14:36:03 +02:00
Christian Grothoff
c1b43de5b4
add offline signature to drain profits (#4960) 2022-07-29 09:21:38 +02:00