Christian Grothoff
bc03a27cba
-fix doxygen
2023-05-11 11:47:35 +02:00
Christian Grothoff
7899bc5621
externalize persona JSON conversion logic, expand with file download
2023-05-11 01:18:24 +02:00
Christian Grothoff
ec8ad2e3b3
update mustach library
2023-05-11 01:16:53 +02:00
Christian Grothoff
0dd0fff17d
-typo
2023-05-10 22:13:18 +02:00
Christian Grothoff
b15713f42e
add helper logic for JSON2JSON conversion
2023-05-10 22:09:47 +02:00
Christian Grothoff
4954963405
ensure amounts are in upper-case
2023-05-10 09:13:09 +02:00
Christian Grothoff
5259ea0532
-fix logging
2023-05-10 01:21:52 +02:00
Christian Grothoff
cc34502ac1
-fix TOTP calculation
2023-05-10 01:13:45 +02:00
Christian Grothoff
5f9c3021db
exceptions-apply
2023-05-10 01:08:05 +02:00
Christian Grothoff
09f09a2104
fix more VLAs
2023-05-10 01:07:20 +02:00
Christian Grothoff
c014acf3c4
always use GNUNET_memcpy
2023-05-10 01:01:37 +02:00
Christian Grothoff
3ebd0a70b2
fix 0-length VLAs
2023-05-10 00:57:04 +02:00
Christian Grothoff
aedd13a778
assertions to make compiler happy
2023-05-10 00:27:33 +02:00
Christian Grothoff
1cf58e8ff8
-fix warning
2023-05-10 00:02:52 +02:00
Christian Grothoff
4e79967f9b
-consistency
2023-05-09 23:53:02 +02:00
dc5b0fb0d3
Fix age mask parsing from config
...
- initialize age mask to zero
- drop default bitstring for age mask, use string instead
-remove default age mask bits, use string instead
-strdup
2023-05-09 21:45:59 +02:00
Christian Grothoff
d1379e492d
-fix include
2023-05-09 14:11:21 +02:00
Christian Grothoff
f009e0bd12
-make content-length optional again
2023-05-09 14:07:13 +02:00
Christian Grothoff
6d363488a1
allow NULL
2023-05-07 00:16:06 +02:00
Christian Grothoff
1639cefa61
-doxygen
2023-05-06 21:29:43 +02:00
Christian Grothoff
404b2b78f1
add convenience function TALER_TEMPLATING_reply_error
2023-05-06 20:55:40 +02:00
Christian Grothoff
1f9427e1d9
add convenience function for content-length limiation
2023-05-06 19:43:17 +02:00
Christian Grothoff
737b3338ed
-doxygen
2023-05-04 21:32:36 +02:00
Christian Grothoff
1e88796045
finish implementation for #7808
2023-05-04 17:36:43 +02:00
Christian Grothoff
7c0de44a2b
towards LP support for GET /deposits ( #7808 )
2023-05-04 17:14:54 +02:00
Christian Grothoff
2de2b6e3cf
-fix crypto test
2023-05-04 16:04:29 +02:00
Christian Grothoff
4c1a2c0307
more shared logic for argument/header parsing
2023-05-04 14:42:06 +02:00
Christian Grothoff
0b8752bb1b
-more readable, no semantic change
2023-05-03 20:25:39 +02:00
Christian Grothoff
8e0f9b40c0
check regex syntax at least
2023-05-02 21:48:23 +02:00
Christian Grothoff
4267f1d762
include 0-terminator when hashing
2023-05-02 17:32:26 +02:00
Christian Grothoff
ffd4057c61
use same canonicalization of JSON as for contract hashes when doing normal JSON hashing
2023-05-02 17:29:41 +02:00
Christian Grothoff
41cb79c685
implement taler-exchange-offline account restriction and conversion functionality
2023-05-02 12:07:27 +02:00
Christian Grothoff
00021d7e83
-doxygen
2023-05-02 11:03:26 +02:00
Christian Grothoff
8ce9433736
fix uninitialized old_scope
2023-05-01 23:10:44 +02:00
Christian Grothoff
647ae694cc
-fix uninitialized variable and memory leak
2023-05-01 22:34:35 +02:00
Christian Grothoff
faca037018
expose TALER_EXCHANGE_parse_accounts() in external API
2023-05-01 22:34:35 +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
5ee567d1ba
-fix memory leak
2023-05-01 20:59:03 +02:00
84bde679a7
-typos
2023-05-01 20:19:51 +02:00
e68d9f9b75
-cleanup signatures
2023-05-01 14:22:18 +02:00
153a078ca5
-typo in comment
2023-05-01 14:12:38 +02:00
1a63275d98
WiP: age-withdraw, finished reveal-request, 10/n
...
- /age-withdraw/$ACH/reveal handler now fully implemented
- for consistency with api: rename of tables from withdraw_age_... to
age_withdraw
2023-05-01 14:05:58 +02:00
Christian Grothoff
af3c92f9d5
-dox
2023-04-25 23:19:18 +02:00
Christian Grothoff
e1439e6401
-fix doxygen
2023-04-25 23:12:33 +02:00
Christian Grothoff
487f23502f
add nexus-fetch-transactions
2023-04-25 23:06:58 +02:00
Christian Grothoff
1a3dbf8c98
-fix port
2023-04-24 21:15:04 +02:00
Christian Grothoff
505170ce1f
fix filename
2023-04-24 20:37:53 +02:00
Christian Grothoff
b219366cdf
update for API change as per #6363
2023-04-23 22:57:39 +02:00
08b420dd52
-fix typos for doxygen
2023-04-23 11:55:17 +02:00
Christian Grothoff
88a69ac7f2
add missing original makefile
2023-04-22 18:33:17 +02:00
5d17c9c909
wallet expects bankAccessApiBaseUrl
2023-04-22 18:14:33 +02:00
6f492b2a97
WiP: age-withdraw, continue with finalize_age_withdraw_and_sign, 9/n
...
Also:
- added duplicate planchet check for age-withdraw_reveal
- added stubs for (get|insert)_age_withdraw_reveal
2023-04-22 17:18:59 +02:00
89a9224c3b
Merge branch 'master' of ssh://git.taler.net/exchange
2023-04-22 15:39:14 +02:00
12681dfa1a
WiP: age-withdraw, adjust schema and DB-handlers, cleanup FIXME's, 8/n
2023-04-22 15:39:02 +02:00
37dd5bed20
-added FIXME
2023-04-22 15:06:44 +02:00
Christian Grothoff
acbee86745
simplify batch insert: no cursor where not required, replace out_reserve_found with ruuid being allowed to remain NULL
2023-04-22 15:02:47 +02:00
Christian Grothoff
c3fc8c5e55
fix fakebank long polling
2023-04-22 14:43:26 +02:00
Christian Grothoff
76b934b219
-misc fixes
2023-04-22 02:54:55 +02:00
Christian Grothoff
be1d8afaec
-misc fixes
2023-04-22 02:33:18 +02:00
Christian Grothoff
0236caf354
-misc fixes
2023-04-22 02:30:02 +02:00
Christian Grothoff
9e61579c8b
-misc fixes
2023-04-22 02:26:44 +02:00
Christian Grothoff
89c5a3eca9
-misc bugs
2023-04-22 01:53:41 +02:00
Christian Grothoff
53157062cb
-misc bugs
2023-04-22 01:40:53 +02:00
Christian Grothoff
2dab1fac1c
misc bugfixes in reserves_in batch logic
2023-04-22 01:20:41 +02:00
Christian Grothoff
5290453e36
clean up reserve_get logic
2023-04-21 22:30:37 +02:00
Christian Grothoff
ee6ec1f55d
-fix bug in sync
2023-04-21 10:50:35 +02:00
Christian Grothoff
44e0e00595
fix some major bugs in pg_reserves_in_insert
2023-04-18 20:44:33 +02:00
Christian Grothoff
8952a87b85
avoid overloading of global variable
2023-04-18 20:24:10 +02:00
Christian Grothoff
8463572bea
fix SPI build
2023-04-16 22:07:36 +02:00
Christian Grothoff
ade7586c30
add missing resource
2023-04-16 21:26:01 +02:00
Christian Grothoff
10c779bbc6
add FIXME
2023-04-16 21:25:48 +02:00
Christian Grothoff
5121c6b1cf
work on lookup_records_by_table
2023-04-16 10:05:38 +02:00
Christian Grothoff
2906ded1a6
work on insert_records_by_table
2023-04-16 09:41:37 +02:00
Christian Grothoff
136d2b2e70
implement more of lookup_records_by_table
2023-04-15 23:43:20 +02:00
Christian Grothoff
376de032b5
create warnings on missing table syncs
2023-04-15 23:11:36 +02:00
Christian Grothoff
eec4dc80ef
always check for the entire batch being idempotent, not only when it is too late to repeat the request
2023-04-15 19:53:38 +02:00
Christian Grothoff
2c28f7ebd0
reduce max requests limit per default
2023-04-15 15:14:05 +02:00
Christian Grothoff
07a089f4f1
-fix memory leak
2023-04-15 14:38:32 +02:00
Christian Grothoff
eb2b4a131b
add logic to check signature over fees in /wire response ( fixes #7802 )
2023-04-13 17:30:53 +02:00
Christian Grothoff
4e9c43954e
-fix SQL query
2023-04-10 23:28:40 +02:00
Christian Grothoff
122c926493
avoid crashing, fail test instead
2023-04-10 13:51:36 +02:00
Christian Grothoff
27c9fef5ea
use LEFT JOIN as aml_status table may be empty
2023-04-10 10:52:45 +02:00
Christian Grothoff
090c532b3a
return AML status together with KYC status
2023-04-10 10:48:32 +02:00
Christian Grothoff
677ac4a5c8
return text/plain by default ( fixes #7747 )
2023-04-08 09:46:00 +02:00
Christian Grothoff
cbabddf013
fix #7792
2023-04-08 08:29:30 +02:00
Christian Grothoff
3137d8dc13
adding FIXME
2023-04-08 08:11:27 +02:00
Christian Grothoff
36b2cbb47e
modify logic to match
...
https://datatracker.ietf.org/doc/draft-nottingham-http-availability-hints/
2023-04-06 23:46:39 +02:00
Christian Grothoff
d4f9417d8c
-spelling, typos, indentation
2023-04-04 17:26:51 +02:00
Christian Grothoff
979ec38ec4
left-pad TOTP code with 0s
2023-04-02 14:12:13 +02:00
Christian Grothoff
e99450e2e2
-fix missing comments
2023-03-31 14:04:04 +02:00
Christian Grothoff
a30827fcef
-fix missing comments
2023-03-31 14:03:12 +02:00
Christian Grothoff
6eed8917c3
fix exchangedb build errors
2023-03-31 13:50:32 +02:00
Joseph
9cce35d270
New sql code for batch ensure coin known
2023-03-29 11:18:20 -04:00
Joseph
0c2d5bba55
Remove binary files
2023-03-27 10:19:44 -04:00
Joseph
6af9fd66fb
New spi files
2023-03-27 09:55:00 -04:00
Joseph
cb87b6f646
New spi files
2023-03-27 09:55:00 -04:00
Joseph
d83c2539bc
some changes for known coins
2023-03-27 09:54:59 -04:00
Joseph
fb70814d46
some changes for ensure known coin
2023-03-27 09:54:59 -04:00
Joseph
42258d5778
nothing to update
2023-03-27 09:54:59 -04:00
Joseph
39f2d441f7
Spi files
2023-03-27 09:53:51 -04:00
Joseph
5dfa56727e
New spi files
2023-03-27 09:51:09 -04:00
838f6b7f1d
-fix comments for doxygen
2023-03-13 09:17:44 +01:00
837c53552e
-typo
2023-03-13 09:10:52 +01:00
2cca5dff2a
-typos
2023-03-13 09:08:22 +01:00
6a3da22546
-typos
2023-03-13 09:01:29 +01:00
a2c70ff0c8
-typos
2023-03-13 08:53:16 +01:00
b15c8e527b
-typos
2023-03-13 08:49:38 +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
777a4c07cf
Merge branch 'master' into age-withdraw
2023-03-11 11:51:02 +01:00
e3d5672cbd
simplify hash generation of age commitment
2023-03-11 11:48:44 +01:00
257f2eb91b
WiP: age-withdraw, cut out work up to verify_commitment_and_max_age
2023-03-11 11:48:15 +01:00
Christian Grothoff
9d5549d6ba
retry on failure
2023-03-09 19:48:29 +01:00
Christian Grothoff
74facbead4
add comments
2023-03-09 19:24:04 +01:00
MS
269425672c
typo
2023-03-09 18:02:28 +01:00
Christian Grothoff
90664b555c
log URL in error message ( fixes #7725 )
2023-03-08 12:04:33 +01:00
Christian Grothoff
890c962817
fix #7744
2023-03-08 12:01:07 +01:00
Christian Grothoff
21c9dae382
style fix
2023-03-08 11:52:56 +01:00
5608a73c00
-simplify zero-check for age-commitment hash
2023-03-07 11:15:24 +01:00
b7e20eb71e
-minor refactoring in age_withdraw-reveal
2023-03-06 21:37:32 +01:00
7521ff1cf4
-minor refactoring in age_withdraw-reveal
2023-03-06 21:36:14 +01:00
2d1583f96b
WiP: age-withdraw implementation, part 4/n
...
- check dates of denominations (expiry, etc.)
- refactor denomination checks into denomination_is_valid()
2023-03-06 21:24:45 +01:00
6adc223028
WiP: age-withdraw implementation, part 4/n
...
- check dates of denominations (expiry, etc.)
- refactor denomination checks into denomination_is_valid()
2023-03-06 21:21:20 +01:00
262b470878
WiP: age-withdraw implementation, part 3/n
...
- retrieval of previous commitment
- validity check of all denominations
- comparison of accumulated values and fees with commited value and fee.
- update gana
2023-03-06 20:42:48 +01:00
af1001bc42
-cleanup age-withdraw_reveal
2023-03-06 13:04:26 +01:00
Christian Grothoff
70645cbb1b
fix permissions, default to UNIX, improve logging
2023-03-05 01:18:08 +01:00
Christian Grothoff
2ad12de668
-fix FTBFS and other bugs
2023-03-04 18:19:18 +01:00
Christian Grothoff
72ad473fde
misc minor fixes
2023-03-04 17:04:12 +01:00
priscilla
263ebf00fc
totp update function
2023-03-03 05:20:40 -05:00
priscilla
b46c03b2c9
totp algorithm
2023-03-02 09:55:24 -05:00
468006c60b
WiP: age-withdraw implementation, part 2/n
...
Commit phase of the age-withdraw protocol implemented, according to
https://docs.taler.net/core/api-exchange.html#withdraw-with-age-restriction
- added new files, forgot in previous commit
2023-03-01 11:14:30 +01: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
7f518fff1a
-typo
2023-02-21 17:18:28 +01:00
Christian Grothoff
f767a9d12c
fix dist rule
2023-02-21 16:44:36 +01:00
Christian Grothoff
4a51b9a9a1
-fix bug
2023-02-21 14:52:44 +01:00
Christian Grothoff
7da69142b4
-misc minor bugfixes
2023-02-21 14:44:31 +01:00
Christian Grothoff
95bd24916e
skeleton logic for POS confirmation
2023-02-21 12:57:33 +01:00
priscilla
b663c8a3c1
fix memory leak on pay
2023-02-20 12:17:10 -05:00
priscilla
a7f0611a88
update changes with pull
2023-02-20 12:17:10 -05:00
priscilla
3e6a6f0ee6
update
2023-02-20 12:17:09 -05:00
Christian Grothoff
b43cf6f97f
-fix comment
2023-02-20 16:59:12 +01:00
Christian Grothoff
185391f3fc
idempotency test
2023-02-19 21:51:39 +01:00
Christian Grothoff
13d90bb1a3
on idempotent deposit, just skip most of the transaction
2023-02-19 21:46:15 +01:00
Christian Grothoff
e2fe36a0be
fix typo
2023-02-19 21:05:36 +01:00
Christian Grothoff
95e3087984
expose now returned purse_expiration in exchange API
2023-02-19 18:32:38 +01:00
Christian Grothoff
9a841f6047
implement #7706
2023-02-19 18:30:04 +01:00
Christian Grothoff
d49a0536ad
-fix more memory leaks
2023-02-19 13:14:16 +01:00
Christian Grothoff
fe79f6af9c
-fix memory leak
2023-02-19 13:11:57 +01:00
Christian Grothoff
0fe0c414e2
check currency matches before proceeding
2023-02-19 12:32:41 +01:00
Christian Grothoff
b414183283
-doxygen fixes
2023-02-19 11:22:53 +01:00
Christian Grothoff
2fd87736b4
also inform about AML-triggered KYC requirement in GET deposits endpoint
2023-02-19 10:26:06 +01:00
Christian Grothoff
06e2e8022c
return KYC requirement row when AML imposed KYC requirements on withdraw; return KYC choices in new /config endpoint
2023-02-19 10:21:29 +01:00
Christian Grothoff
aa5e7d2ad5
more towards actually allowing AML decisions to trigger KYC
2023-02-17 18:24:20 +01:00
Christian Grothoff
86e0f2c70d
fix memory leak and transaction error handling related to KYC
2023-02-17 16:57:29 +01:00
Christian Grothoff
87a78c6f8c
add code to sanity-check KYC configuration and KYC decisions
2023-02-16 16:38:20 +01:00
4d2d0473c3
remove obsolete taler-crypto-worker
2023-02-15 18:32:34 +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
437e6ec86a
-fix test FTBFS
2023-02-14 13:01:35 +01:00
Christian Grothoff
57e2f38bd2
-fix notify_s argument passing
2023-02-13 21:12:00 +01:00
Christian Grothoff
a79e50505b
-add missing option
2023-02-13 21:05:05 +01:00
Christian Grothoff
dc40f6c679
work on AML notification logic
2023-02-13 16:00:37 +01:00
Christian Grothoff
3760d43097
tolerate NULL cleanup functions in commands in batches
2023-02-13 12:21:56 +01:00
Christian Grothoff
6db4bdbe6e
-more work on AML triggers for P2P transfers
2023-02-12 22:02:51 +01:00
174022907b
fix confusing log
2023-02-12 17:53:51 +01:00
Christian Grothoff
923ff3126e
-work on AML trigger logic
2023-02-12 14:39:54 +01:00
Christian Grothoff
19132b6716
-start on AML work (incomplete)
2023-02-09 17:54:14 +01:00
Christian Grothoff
d0b43b0e6a
fix get_link_data logic
2023-02-07 12:27:45 +01:00
Christian Grothoff
5c983bd05e
-fix negation for shutdown of PG
2023-02-06 18:37:05 +01:00
Joseph
c0e6ce7519
update with sort in c code
2023-02-06 08:58:57 -05:00
Christian Grothoff
6d3efbe900
-debugging batch reserves_in notification logic: success: pg_notify does not work, identifier vs. string
2023-02-05 21:59:41 +01:00
Christian Grothoff
f079cff4ae
-fix transaction issue in exchange test
2023-02-05 20:15:26 +01:00
Christian Grothoff
64b2bc4558
-fix FTBFS of exchange test
2023-02-05 20:13:40 +01:00
Christian Grothoff
ab03ba16e9
exchangedb: use partial index instead of materialized tables deposits_by_ready and deposits_by_matching; remove now broken code; rename benchmarks to use perf_-prefix and correspond to function they benchmark
2023-02-05 19:11:47 +01:00
Christian Grothoff
e66087987f
-add missing file
2023-02-04 21:55:56 +01:00
Christian Grothoff
5a18e955eb
-fix AML decision update logic and history fetch logic
2023-02-04 21:54:47 +01:00
Christian Grothoff
47b9ef598d
-deduplicate configs
2023-02-04 18:05:36 +01:00
Christian Grothoff
4c5394fd4d
-doxygen typos
2023-02-04 16:09:31 +01:00
Christian Grothoff
19da4bd638
add tests for new AML logic, plus related bugfixes
2023-02-04 16:01:46 +01:00
Christian Grothoff
c3243aa39f
implement testing_api_cmd_check_aml_decision
2023-02-03 14:06:17 +01:00
Christian Grothoff
f6877449eb
implement testing_api_cmd_take_aml_decision.c
2023-02-03 12:57:04 +01:00
Christian Grothoff
e0687b90f1
implement testing_api_cmd_set_officer
2023-02-03 11:29:05 +01:00
Christian Grothoff
ba3b53cd27
-refund deadline should be optional/can be 0
2023-02-02 22:21:44 +01:00
Christian Grothoff
a703171f08
add logic to parse AML decisions response
2023-02-02 17:16:13 +01:00
Christian Grothoff
f60b09f8ef
add logic to parse AML decision response
2023-02-02 17:06:47 +01:00
Christian Grothoff
3898054b10
more work on KYC/AML decision inspection
2023-02-02 14:55:56 +01:00
Christian Grothoff
eab95d0154
draft for the AML GET decision endpoint
2023-02-02 12:03:55 +01:00
Christian Grothoff
915542e69c
first draft of implementation of GET AML decisions endpoint
2023-02-02 11:40:44 +01:00
Christian Grothoff
f8ff9c996f
add 2nd AML decision lookup API (skeleton only)
2023-02-01 17:05:11 +01:00
Christian Grothoff
e469e6698e
start work on AML decision query API
2023-02-01 17:00:51 +01:00
Christian Grothoff
f0567567fe
draft new AML API
2023-02-01 16:43:02 +01:00
Joseph
d93006c354
update link data test
2023-01-30 09:38:16 -05:00
Joseph
09c043c177
update test link data
2023-01-30 09:12:36 -05:00
Joseph
4bb96abc97
test for link data
2023-01-30 08:45:51 -05:00
Christian Grothoff
a1c0c2fafd
add test for KYC required on reserve close
2023-01-29 21:52:07 +01:00
Christian Grothoff
e8c8aa9efe
use correct attribute name in test
2023-01-29 14:12:19 +01:00
Christian Grothoff
ff202ef296
KYC: misc. fixes to attribute attestation logic
2023-01-29 13:58:56 +01:00
Christian Grothoff
99753a5d31
KYC: fix API call and memory leak
2023-01-28 17:45:56 +01:00
Christian Grothoff
92f16aad51
-misc fixes
2023-01-28 17:08:51 +01:00
Christian Grothoff
2aff69e7ec
fix Persona attribute extraction from webhooks
2023-01-28 14:06:19 +01:00
Christian Grothoff
8c5a12302e
-debug KYC webhook logic
2023-01-28 12:20:18 +01:00