Christian Grothoff
2d55647f2a
add support for reserve open/close operations to auditor, begin to split off purse auditing logic
2022-10-30 17:36:57 +01:00
Christian Grothoff
28969f415e
-remove bogus tests
2022-10-22 00:07:00 +02:00
Christian Grothoff
745981c680
handle purse-refund and reserve-open-deposit events in coin history in libtalerexchange
2022-10-15 22:14:20 +02:00
Christian Grothoff
518c7009e7
handle reserve open/close responses in reserve history in libtalerexchange
2022-10-15 22:03:55 +02:00
Christian Grothoff
4702b156dc
-work on reserve control tests
2022-10-12 22:16:40 +02:00
Christian Grothoff
3b34acdb72
-update to latest GNUNET_PQ_make_prepare() API
2022-10-12 14:48:56 +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
442b2116ed
-already done, remove finished FIXME
2022-10-01 16:32:58 +02:00
Christian Grothoff
2635f2e0b8
implement exchange_api_reserves_attest.c
2022-09-27 16:10:00 +02:00
Christian Grothoff
33680940fe
implement libtalerexchange:reserve_get_attest API
2022-09-27 15:31:59 +02:00
Christian Grothoff
0de4db7755
implement libtalerexchange:reserve_close API
2022-09-27 15:21:51 +02:00
Christian Grothoff
7d8c49b3c7
implement libtalerexchange:reserve_open API
2022-09-27 14:15:05 +02:00
Christian Grothoff
cf74be0ac3
-handle case of GET purse status prior to deposit
2022-08-24 10:26:16 +02:00
Christian Grothoff
d37d9d9ded
-handle case of GET purse status prior to merge
2022-08-24 10:16:25 +02:00
Christian Grothoff
758a149059
-fix report generation field name missmatch
2022-08-23 14:22:59 +02:00
Christian Grothoff
9ed99558e2
-fix clang compiler warnings
2022-08-22 22:45:41 +02:00
Christian Grothoff
a046899b2c
-major KYC update, fixes misc. issues
2022-08-20 21:29:36 +02:00
Christian Grothoff
2c4bd1e1d0
add user type to kyc-check
2022-08-19 09:31:51 +02:00
Christian Grothoff
1a3793cb1c
-regenerate DBs
2022-08-14 19:10:19 +02:00
Christian Grothoff
74ba46db39
-work on new KYC logic: tests pass again
2022-08-14 18:04:09 +02:00
Christian Grothoff
1009084e94
major rework of the KYC logic, making it more configurable, not complete, but tests pass again
2022-08-11 23:35:33 +02:00
Christian Grothoff
2056bc82f9
expand taler-exchange-offline and libtalerexchange with management-drain-profits implementation ( #4960 )
2022-07-29 09:57:10 +02:00
Christian Grothoff
a01c1acc3c
-actually, incrementing on every error seems fine
2022-07-05 13:01:17 +02:00
Christian Grothoff
75dbf20ced
-annotate bugs
2022-07-05 11:46:02 +02:00
Christian Grothoff
3453126eb7
-resolve minor FIXMEs
2022-07-05 11:17:47 +02:00
Christian Grothoff
ff2eb4f3dd
-fix batch deposit uninit issue
2022-07-02 22:51:45 +02:00
Christian Grothoff
cebf4f11b9
-add test for batch deposits
2022-07-01 15:42:48 +02:00
Christian Grothoff
085e40bc56
-exchange_api_batch_deposit.c compiles
2022-07-01 07:08:13 +02:00
Christian Grothoff
2805018da2
-reduce logging
2022-06-29 20:34:22 +02:00
Christian Grothoff
7fe8d89d75
-update deposit API in preparation for batch deposits
2022-06-29 19:30:12 +02:00
9b312aa0f8
version bump due to new /keys response
2022-06-29 13:34:26 +02:00
Christian Grothoff
ded7f9ca18
-fix issue with missing signature over denomination and age restriction hash in purse deposit
2022-06-28 20:25:45 +02:00
cddfaf007f
age commitment: json parser helper and support for purses added
2022-06-27 17:38:11 +02:00
87025cfd17
age restriction support in exchange_api_purse_create_with_deposit added
2022-06-27 14:11:46 +02:00
5633ad5a26
better api for parsing a denomination group
2022-06-27 10:36:13 +02:00
a6544069f9
[new /keys response] added proper hash verification
...
- 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-27 10:10:51 +02:00
Christian Grothoff
fd9fc9f0cd
-fix misc doxygen warnings, code clean up
2022-06-26 17:08:17 +02:00
31f74059e0
[new /keys response] create and parse denomination implemented
...
- /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-06-26 16:59:27 +02:00
Christian Grothoff
bad572a010
-add missing checkpointing logic
2022-06-19 14:04:41 +02:00
Christian Grothoff
f2e2c5c9d8
-fix refund check regression
2022-06-07 22:24:49 +02:00
Christian Grothoff
446761b602
-more minor bugfixes
2022-06-07 16:57:12 +02:00
Christian Grothoff
b9a30d29cb
-fix minor bugs
2022-06-07 15:02:16 +02:00
Christian Grothoff
bdbd2a464d
no purse fee if purse is successfully merged
2022-06-05 21:00:49 +02:00
Christian Grothoff
b9963f7525
complete P2P/W2W conflict handling, deduplicate code across handlers
2022-06-05 14:07:23 +02:00
Christian Grothoff
6c81796d6f
-work on error proof response checking for p2p payments
2022-06-05 01:34:37 +02:00
Christian Grothoff
8e0b998217
-unify API
2022-06-05 00:43:11 +02:00
Christian Grothoff
21a1c715ee
-refactor internal API to use new EncrptedContract struct where applicable
2022-06-05 00:36:19 +02:00
Christian Grothoff
efa0ca4ec1
-move econtract into sub-object with its own parser
2022-06-05 00:25:56 +02:00
Christian Grothoff
a17781ba8d
-more work on p2p payments and tests thereof
2022-06-04 22:00:02 +02:00
Christian Grothoff
93943bdb5b
add KYC errors for p2p payments
2022-06-04 15:19:57 +02:00
Christian Grothoff
d04769b729
handle case where purse expiration refunded the coin's deposited amount
2022-06-04 14:04:27 +02:00
Christian Grothoff
04c32eafb9
-work on P2P payment details
2022-06-02 21:55:21 +02:00
Christian Grothoff
d55b093de8
-fix reserve history, include in tests
2022-05-30 19:31:49 +02:00
Christian Grothoff
ab4aa4dcfd
-add batch withdraw to test suite
2022-05-30 17:51:39 +02:00
Christian Grothoff
d40da21e90
add batch signing support to taler-exchange-secmod-rsa
2022-05-29 22:25:04 +02:00
Christian Grothoff
054f2ab51c
-implement batch withdraw client-side logic
2022-05-23 21:12:31 +02:00
Christian Grothoff
2e80f51e25
handle purse deposit client-side
2022-05-23 16:11:21 +02:00
Christian Grothoff
76b8a2a8de
include purse deposits in coin history
2022-05-23 16:02:55 +02:00
Christian Grothoff
a509a91f92
-more reserve history fixes
2022-05-23 15:29:35 +02:00
Christian Grothoff
cdd2930a99
-misc fixes to reserve history
2022-05-23 14:57:00 +02:00
Christian Grothoff
2035294adb
-more traits for reserve history checking
2022-05-23 12:17:41 +02:00
Christian Grothoff
f1a58b0fd8
-towards reserve history testing
2022-05-23 11:15:05 +02:00
Christian Grothoff
b3844e4923
-deduplicate and expand reserve history validation logic in testing library
2022-05-23 10:36:39 +02:00
Christian Grothoff
fcaf508647
-add missing break, clean up fee logic
2022-05-23 00:34:04 +02:00
Christian Grothoff
3ee8879ada
-refactor coin history checker
2022-05-23 00:19:57 +02:00
Christian Grothoff
3599ac0ac2
-complete extended reserve history signature check logic to libtalerexchange
2022-05-22 23:51:14 +02:00
Christian Grothoff
67535ebf65
-towards client-side support for merge and history requests in reserve history
2022-05-22 20:04:38 +02:00
Christian Grothoff
40daa209fb
-more work on reverse history
2022-05-22 18:21:15 +02:00
Christian Grothoff
344c53c51d
enforce valid payto:// URI in exchange /wire response
2022-05-18 18:05:32 +02:00
Christian Grothoff
d8f1f7b761
integrate purse expiration into test, bugfixes
2022-05-17 11:21:20 +02:00
Christian Grothoff
d803d86bf9
-work purse_deposit conflict handling
2022-05-16 14:01:04 +02:00
Christian Grothoff
fac01f140f
-add purse-merge 409 handling client-side
2022-05-16 11:17:27 +02:00
Christian Grothoff
439c872af4
-implement purse_deposit error handling
2022-05-16 10:53:42 +02:00
Christian Grothoff
99a844e52e
check reserve balance after p2p merges
2022-05-09 13:25:10 +02:00
Christian Grothoff
d3a6388199
pass purse_fee to determine how purse creation is paid for
2022-05-08 11:37:37 +02:00
Christian Grothoff
5f6d5bc3fc
-online
2022-05-07 23:43:39 +02:00
Christian Grothoff
415c922c92
-address FIXMEs for purses GET requests
2022-05-07 23:41:33 +02:00
Christian Grothoff
4199e4438d
rename function that is for the merchant signature to have merchant in the name
2022-05-07 23:21:27 +02:00
Christian Grothoff
370ee3a417
-fix leaks
2022-05-07 18:58:29 +02:00
Christian Grothoff
3e8c797bb7
-get p2p test to pass
2022-04-27 13:28:28 +02:00
Christian Grothoff
d623cab1a3
-work on p2p payments
2022-04-27 13:09:41 +02:00
17a00ef22d
age restriction: make seed a HashCode due to endianess and security level concerns
2022-04-26 23:34:14 +02:00
Christian Grothoff
336f2d8991
-misc. minor fixes
2022-04-26 17:46:36 +02:00
Christian Grothoff
b4965db0d2
-fix fieldnames, regenerated DBs
2022-04-24 20:49:11 +02:00
Christian Grothoff
b671d6b25d
get first p2p test to pass
2022-04-24 16:02:34 +02:00
Christian Grothoff
aedd2014ec
-misc p2p fixes
2022-04-24 15:29:58 +02:00
Christian Grothoff
345c141bad
-work on p2p payments
2022-04-23 20:50:27 +02:00
Christian Grothoff
b054c969cb
-add more accounting fields to reserve table
2022-04-23 19:01:28 +02:00
Christian Grothoff
cf11b3f0b2
-create cmd for purse creation from reserve
2022-04-23 18:01:00 +02:00
Christian Grothoff
132359a444
add purses-get to build
2022-04-23 12:34:48 +02:00
Thien-Thi Nguyen
a72337a5f3
Add abstractions: TALER_exchange_deposit_{sign,verify}
...
This change also removes ‘struct TALER_DepositTrackPS’
from the public API.
* src/include/taler_signatures.h (struct TALER_DepositTrackPS): Delete.
* src/util/exchange_signatures.c (struct TALER_DepositTrackPS): New.
(TALER_exchange_deposit_sign): New func.
(TALER_exchange_deposit_verify): New func.
* src/include/taler_crypto_lib.h
(TALER_exchange_deposit_sign): New func decl.
(TALER_exchange_deposit_verify): New func decl.
* src/exchange/taler-exchange-httpd_deposits_get.c
(TEH_handler_deposits_get): Rework to use ‘TALER_exchange_deposit_verify’.
* src/lib/exchange_api_deposits_get.c
(TALER_EXCHANGE_deposits_get): Rework to use ‘taler_exchange_deposit_sign’.
2022-04-22 20:29:45 -04:00
Christian Grothoff
8ef3997160
-make purses_get compile
2022-04-22 23:34:37 +02:00
Christian Grothoff
ae2f1ced8b
skeleton for GET /purses/ client
2022-04-22 23:22:06 +02:00
Christian Grothoff
eea35ffb01
-skeleton logic for deposits into purse
2022-04-21 22:44:51 +02:00
Christian Grothoff
582acc3cf3
add taler-exchange-httpd_reserves_purse.c to build
2022-04-21 21:04:33 +02:00
Christian Grothoff
c3e67dfc6b
-add purse_create_with_merge to build
2022-04-21 20:36:14 +02:00
Christian Grothoff
f5eef0c816
-more work on purse creation for reserve
2022-04-21 20:25:01 +02:00
Christian Grothoff
4af1772f12
-work on create purse with merge
2022-04-20 23:07:44 +02:00
Christian Grothoff
2299b8b193
-draft for purse merge command
2022-04-12 16:35:05 +02:00
Christian Grothoff
b91a406525
-finish first implementaation of exchange_api_contracts_get.c
2022-04-11 19:22:30 +02:00