Christian Grothoff
d1c160d1b9
properly handle GONE case on purse deposit
2022-12-09 13:33:57 +01:00
Joseph
6e3d1bdc91
some modifications for batch test
2022-12-06 08:09:45 -05: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
597c9950a3
adapt build to latest GNUnet without gnunet/platform.h
2022-12-05 12:55:15 +01:00
Christian Grothoff
461dc8e36c
-fix crash if there is a conflict on inserting into the purse_decision table
2022-12-05 11:15:59 +01:00
Christian Grothoff
cf2e37cd87
more work on SQL refactoring
2022-11-27 21:21:04 +01:00
Joseph
f60e38077c
some modifications on batch_test for reserves_in
2022-11-21 10:40:08 -05:00
Christian Grothoff
9d43bf92c4
-doxygen
2022-11-21 14:56:46 +01:00
Christian Grothoff
3583885978
-typos
2022-11-21 14:44:09 +01:00
Christian Grothoff
741831e87b
bank API refactoring for #7276 (incomplete)
2022-11-17 13:28:15 +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
04a45df4bf
-doxygen
2022-11-06 22:34:12 +01:00
Christian Grothoff
f8e9241a3d
fix #7427
2022-11-06 22:29:51 +01:00
Christian Grothoff
22057732c7
add missing header
2022-11-04 12:59:34 +01:00
a76556f0ca
-typos in arguments fixed
2022-11-04 12:58:03 +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
Christian Grothoff
2e3460b460
-doxygen
2022-11-02 14:42:56 +01:00
9169f4447e
age mask clarification
2022-11-02 12:36:28 +01:00
Christian Grothoff
34f46382f0
skeleton logic for new auditordb functions
2022-11-02 12:25:42 +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
d97ef7fcf6
-fix FTBFS of new taler-helper-auditor-purses
2022-10-30 18:49:21 +01:00
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
518c7009e7
handle reserve open/close responses in reserve history in libtalerexchange
2022-10-15 22:03:55 +02:00
Christian Grothoff
a8dac27be8
return open/close requests in reserve history
2022-10-15 21:26:03 +02:00
Christian Grothoff
38876c503f
-refactor DB for reserve history/status routines
2022-10-15 16:19:14 +02:00
Christian Grothoff
eebc030f6c
add logic to return information about purse refunds in coin histories
2022-10-15 10:43:26 +02:00
Christian Grothoff
1ee69f6f1d
-towards returning reserve open deposits in coin history
2022-10-13 22:43:22 +02:00
Christian Grothoff
09310cc66e
-implement reserve closure in test
2022-10-13 19:07:25 +02:00
Christian Grothoff
4fc77b9dbf
-work on reserve control test
2022-10-13 15:58:49 +02:00
Christian Grothoff
4702b156dc
-work on reserve control tests
2022-10-12 22:16:40 +02:00
Christian Grothoff
ea11a9a0fd
-add missing SQL logic
2022-10-08 22:26:54 +02:00
Christian Grothoff
7e5c6a7e46
-insert routines
2022-10-05 16:38:29 +02:00
Christian Grothoff
67d6bbd736
-work on header towards taler-auditor-sync for new tables
2022-10-05 16:13:12 +02:00
Christian Grothoff
012249fc09
-fix typos
2022-10-04 19:23:01 +02:00
Christian Grothoff
f7b06e308f
-work on reserve_open DB API
2022-10-04 19:18:43 +02:00
Christian Grothoff
856b8e26c2
-more work on new DB logic
2022-10-03 23:54:12 +02:00
Christian Grothoff
4a487b179c
-implement sketch for pg_do_reserve_open.c
2022-10-03 19:34:11 +02:00
Christian Grothoff
3bca75d6cf
complete taler-exchange-httpd_reserves_get_attest.c logic (first pass, still without DB logic or tests)
2022-10-02 23:57:09 +02:00
Christian Grothoff
1ce70b1dab
complete taler-exchange-httpd_reserves_close.c logic (first pass, still without DB logic or tests)
2022-10-02 23:19:48 +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
d645ea5c8e
skeleton for reserve control testing commands
2022-09-28 08:54:14 +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
7d8c49b3c7
implement libtalerexchange:reserve_open API
2022-09-27 14:15:05 +02:00
Christian Grothoff
2961c9b3f6
-doxygen fixes
2022-09-24 14:21:03 +02:00
Christian Grothoff
e7c431654d
-first design for reserve control
2022-09-19 14:33:24 +02:00
Christian Grothoff
18a2fae3b5
add new signature functions for DD31
2022-09-18 17:36:35 +02:00
Christian Grothoff
ecae3c26dd
-enable signup bonus with fakebank
2022-08-25 19:52:53 +02:00
Christian Grothoff
b231cc94df
enforce syntax of reserve_uri
2022-08-23 14:36:03 +02:00
Christian Grothoff
9ed99558e2
-fix clang compiler warnings
2022-08-22 22:45:41 +02:00
Christian Grothoff
92a76baef6
-fix includes
2022-08-21 11:46:40 +02:00
Christian Grothoff
fa2e6f5909
typo
2022-08-20 23:02:51 +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
62a7f9b711
-misc bugfixes for persona kyc logic
2022-08-18 21:10:37 +02:00
Christian Grothoff
3194ccabc1
untested draft of webhook logic for persona
2022-08-18 15:39:39 +02:00
Christian Grothoff
246d49b379
-work on kyc-proof persona plugin
2022-08-18 14:02:54 +02:00
Christian Grothoff
c62792638b
work on kycaid plugin response generation logic
2022-08-16 21:04:51 +02:00
Christian Grothoff
68d2df88f2
allow merge into non-existent reserve if KYC is disabled
2022-08-16 14:36:23 +02:00
Christian Grothoff
d6f12190c0
-move templating library into exchange.git
2022-08-16 13:57:26 +02:00
Christian Grothoff
ab7266fc1c
-implement exchange URL suggestion
2022-08-16 13:34:33 +02:00
Christian Grothoff
ef7c20c42a
-more work on fakebank API extension
2022-08-15 21:29:25 +02:00
Christian Grothoff
96265412cd
(preliminary) work on kycaid plugin
2022-08-15 13:48:13 +02:00
Christian Grothoff
1a3793cb1c
-regenerate DBs
2022-08-14 19:10:19 +02:00
Christian Grothoff
f5b99b5282
-work on new KYC logic: remove old DB code
2022-08-14 19:03:30 +02:00
Christian Grothoff
3e6e873367
-start with DB cleanup
2022-08-14 18:59:48 +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
d58334cf89
implement kyc-proof hook in kyc-tester
2022-08-09 13:00:58 +02:00
Christian Grothoff
ff48ada7d5
move kyclogic into libtalerkyclogic
2022-08-08 15:22:45 +02:00
Christian Grothoff
3f99e4f3f8
-implement new kyc-webhook endpoint
2022-08-07 15:35:13 +02:00
Christian Grothoff
8800d0df9b
-fix schema use
2022-08-06 22:10:33 +02:00
Christian Grothoff
fb5037b8e3
-work on auditor tests
2022-08-06 21:51:39 +02:00
Christian Grothoff
6834b1290f
-move main oauth2.0 logic into kyclogic plugin
2022-08-05 23:33:48 +02:00
Christian Grothoff
8c5807dc2a
-doxygen
2022-08-05 16:42:20 +02:00
Christian Grothoff
b533026632
adding kyclogic plugin template
2022-08-05 15:08:47 +02:00
Christian Grothoff
73b099cfd5
-add new KYC amount iteration DB functions
2022-08-05 14:22:08 +02:00
Christian Grothoff
4724867794
-first pass at new KYC DB API
2022-08-05 13:32:27 +02:00
Christian Grothoff
c78331b6c2
-fix FTBFS in taler-exchange-httpd_kyc.c
2022-08-04 12:52:30 +02:00
Christian Grothoff
61f39f0941
-more general KYC logic
2022-08-04 11:36:05 +02:00
Christian Grothoff
0835669986
-very basic skeleton for KYC API
2022-08-01 18:09:06 +02:00
Christian Grothoff
31bfe5234e
-update auditor schema in preparation to fix #4960
2022-07-31 21:54:29 +02:00
Christian Grothoff
150917694a
finish taler-exchange-drain implementation
2022-07-30 22:54:21 +02:00
Christian Grothoff
544fbd4fe9
-doxygen
2022-07-30 11:04:45 +02:00
Christian Grothoff
2b160c1569
-fix typos
2022-07-30 10:36:19 +02:00
Christian Grothoff
033a5dc93b
implement taler-auditor-sync support for profit_drains table ( #4960 )
2022-07-30 10:29:24 +02:00
Christian Grothoff
75888adff2
setup drain_profits table ( #4960 )
2022-07-30 10:12:48 +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
c1b43de5b4
add offline signature to drain profits ( #4960 )
2022-07-29 09:21:38 +02:00
Christian Grothoff
de83b055d5
-simplify table drop logic
2022-07-25 19:53:31 +02:00
Christian Grothoff
977ddd7bb9
-adapt to latest libgnunetpq
2022-07-24 11:32:52 +02:00
38d7ca0871
-fixed doxygen errors
2022-07-07 11:59:06 +02:00
Christian Grothoff
282bbb0b62
-fix typos
2022-07-06 23:08:53 +02:00
Christian Grothoff
8220974328
-fix typos
2022-07-06 22:53:21 +02:00
Christian Grothoff
36a8ecd4c4
-implemented bounded history for reserve status requests
2022-07-05 14:25:30 +02:00
Christian Grothoff
7201ce3166
-handle withdraw CS nonce reuse more nicely
2022-07-05 12:56:55 +02:00
Christian Grothoff
ad612623be
-run read-only transactions in proper read-only scope (at least some of them)
2022-07-05 12:13:58 +02:00
Christian Grothoff
9e5dc2a542
-remove dead argument
2022-07-05 11:50:20 +02:00
Christian Grothoff
615b4621e3
-implement DB logic for forcing reserve close
2022-07-04 23:40:49 +02:00
Christian Grothoff
182c618579
-implement batch deposit testing cmd
2022-07-01 12:05:41 +02:00
Christian Grothoff
9e3fb2302d
-gana merge
2022-07-01 07:22:39 +02:00
Christian Grothoff
085e40bc56
-exchange_api_batch_deposit.c compiles
2022-07-01 07:08:13 +02:00
Christian Grothoff
7fe8d89d75
-update deposit API in preparation for batch deposits
2022-06-29 19:30:12 +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
9d75b0745a
-fix typo
2022-06-28 12:29:42 +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
d2537de68c
added documenation to the age-restriction related structures
2022-06-27 11:56:18 +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
a55fc45126
-fix valgrind complaints
2022-06-26 17:40:10 +02:00
Christian Grothoff
372a103a80
-more doxygen
2022-06-26 17:09:33 +02:00
Christian Grothoff
7b62174d00
-fix typos
2022-06-26 17:09:30 +02:00
Christian Grothoff
2508d4bb5c
-add missing comments
2022-06-26 17:08:17 +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
8da74a6ca7
-more work on taler-helper-auditor-reserve p2p audits
2022-06-18 20:36:44 +02:00
Christian Grothoff
f6a7d4a1ed
-more DB logic for taler-helper-auditor-reserves
2022-06-15 22:31:44 +02:00
Christian Grothoff
eccf37e450
-more DB prep work towards reserve auditing with p2p payments
2022-06-15 20:49:39 +02:00
Christian Grothoff
83be3173d4
-preparatory steps to expand auditor to know about purse and history fees
2022-06-14 23:04:43 +02:00
Christian Grothoff
963477e064
-fix comments
2022-06-14 15:57:48 +02:00
Christian Grothoff
58a0882909
-towards coin audits with purse deposits
2022-06-13 15:31:52 +02:00
Christian Grothoff
393ae7f9a3
-add dB logic for auditor iteration over purse deposits
2022-06-12 17:23:36 +02:00
Christian Grothoff
f3ceeb00ea
-expand auditordb to track progress for p2p payments
2022-06-08 17:05:51 +02:00
Christian Grothoff
b9a30d29cb
-fix minor bugs
2022-06-07 15:02:16 +02:00
Thien-Thi Nguyen
555cc06220
Generate src/include/taler_signatures.h at bootstrap time
...
* src/include/taler_signatures.h: Delete file.
* contrib/gana-update.sh: Add calls to ‘domake’, ‘ensure’ for contrib/sigp.
2022-06-06 02:59:59 -04:00
Christian Grothoff
b9963f7525
complete P2P/W2W conflict handling, deduplicate code across handlers
2022-06-05 14:07:23 +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
00c68e0a04
-work on SQL for P2P table replication
2022-06-01 23:03:49 +02:00
Christian Grothoff
300194f42a
-towards p2p auditor sync implementation: SQL still missing
2022-05-30 23:55:55 +02:00
Christian Grothoff
d55b093de8
-fix reserve history, include in tests
2022-05-30 19:31:49 +02:00
Christian Grothoff
7b25787a4b
-generate 404 on non-existing accounts for fakebank, use payto://-URIs with receiver-name in tests
2022-05-30 16:31:24 +02:00
Christian Grothoff
7f902c0fc9
-sketch API for RSA parallel signing
2022-05-30 13:34:39 +02:00
Christian Grothoff
1d84c284ad
-incomplete batch_withdraw test command
2022-05-23 22:09:05 +02:00
Christian Grothoff
054f2ab51c
-implement batch withdraw client-side logic
2022-05-23 21:12:31 +02:00
Christian Grothoff
76b8a2a8de
include purse deposits in coin history
2022-05-23 16:02:55 +02:00