Christian Grothoff
89ed38c03c
typos
2023-05-13 22:04:14 +02:00
Christian Grothoff
40e45e7f5e
avoid generating useless file by tests
2023-05-13 22:02:10 +02:00
Christian Grothoff
bac4932cf5
-fix templating tests
2023-05-13 22:00:04 +02:00
Christian Grothoff
b7d1ca4cd9
strcasecmp
2023-05-13 20:37:58 +02:00
Christian Grothoff
89e21002d6
return tipping_allowed from /keys
2023-05-13 20:31:47 +02:00
Christian Grothoff
90ca90b576
-start with new ENABLE_TIPPING option
2023-05-13 20:23:38 +02:00
Christian Grothoff
92df1cb1da
-move AML_THRESHOLD option to exchange
2023-05-13 20:22:16 +02:00
Christian Grothoff
c9ed524bc3
add logic to oauth2 plugin to use /setup endpoint when configured
2023-05-13 17:06:21 +02:00
9f1f069cea
Merge branch 'age-withdraw' of ssh://git.kesim.org/taler/exchange into age-withdraw
2023-05-12 15:10:59 +02:00
a04425df34
[age-withdraw] WIP: change schema to use new support for array types, 11/n
2023-05-12 15:10:23 +02:00
Christian Grothoff
ff1a28319f
-fix FTBFS
2023-05-11 15:24:16 +02:00
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