Christian Grothoff
f11cab90ff
-add parens
2022-02-24 23:58:17 +01:00
b244e23859
-make age commiment structs const in traits
2022-02-23 16:08:27 +01:00
7910ca183f
double melt test no works with age restriction
...
- added missing field h_age_commitment in exchange's error response
- slight refactoring
2022-02-22 18:35:10 +01:00
26158fc725
[age restriction] progress 16/n - refresh/reveal/link tests
...
Age restriction works now with withdraw, melt/refresh/reveal and link,
including tests.
However, there is still a problem with the tests: The melting operation
"refresh-melt-failing-age" that should fail (because of conflict), but
currently fails for other reasons. I decided to disable that particular
test (and the next) and submit the patch I have so far.
2022-02-22 14:34:47 +01:00
Christian Grothoff
544ba42f44
-big renaming of structs for consistent naming with P suffix
2022-02-21 00:23:23 +01:00
Christian Grothoff
19624fd776
-ensure different HKDF is used in melt vs. withdraw
2022-02-20 21:51:46 +01:00
71af4c539e
-reducing FIXMEs re: age restriction
...
- deposit info now carries h_age_commitment
- benchmark does age commitment, too
2022-02-18 02:07:38 +01:00
f4f502d037
-minor merge conflict resolves
2022-02-18 00:50:31 +01:00
a78b3345fb
[age restriction] progress 15/n - melt/refresh/reveal and recoup
...
Added age restriction support for
- melt/refresh/reveal
- recoup
However, tests are not yet implemented for those flows.
Also: minor fixes and refactoring.
2022-02-18 00:30:19 +01:00
Christian Grothoff
a351bfc4b4
-fix CS nonce reuse check logic
2022-02-17 15:18:09 +01:00
8bdf6ab19d
[age restriction] progress 14/n - withdraw and deposit
...
Age restriction support for
- withdraw is done and tested
- deposit is done and tested
TODOs:
- melt/refresh/reveal
- link
------
Added functions
- TALER_age_restriction_commit
- TALER_age_commitment_derive
- TALER_age_commitment_hash
- TALER_age_restriction_commitment_free_inside
- Hash of age commitment passed around API boundaries
Exchangedb adjustments for denominations
- all prepared statements re: denominations now handle age_mask
- signature parameters adjusted
Hash and signature verification of /keys adjusted
- Hashes of (normal) denominations and age-restricted denominations are
calculated seperately
- The hash of the age-restricted ones will then be added to the other
hash
- The total hash is signed/verified
Tests for withdraw with age restriction added
- TALER_EXCHANGE_DenomPublickey now carries age_mask
- TALER_TESTING_cmd_withdraw_amount* takes age parameter
- TALER_TESTING_find_pk takes boolean age_restricted
- WithdrawState carries age_commitment and its hash
- withdraw_run derives new age commitment, if applicable
- Added age parameter to testing (13 as example)
Various Fixes and changes
- Fixes of post handler for /management/extensions
- Fixes for offline tool extensions signing
- Slight refactoring of extensions
- Age restriction extension simplified
- config is now global to extension
- added global TEH_age_restriction_enabled and TEH_age_mask in
taler-exchange-httpd
- helper functions and macros introduced
2022-02-16 22:01:05 +01:00
Christian Grothoff
ef938e0f7a
-correctly implement CS idempotency check on withdraw
2022-02-15 17:07:13 +01:00
Christian Grothoff
bd77bcb52d
-towards fixing the protocol
2022-02-14 23:02:25 +01:00
Christian Grothoff
9b8c350d4d
-remove redundancies in the refresh-melt computation and fix uninitialized bks return value
2022-02-13 12:44:09 +01:00
Christian Grothoff
f6ecf7458a
-refactor melt API, add FIXME for discovered bug
2022-02-12 14:38:27 +01:00
Christian Grothoff
7cedf3f0bf
-clean up refresh reveal API
2022-02-12 14:00:58 +01:00
Christian Grothoff
4d26042b5a
-modify link API to return 'ps' so that linked coins can be refreshed
2022-02-12 13:39:58 +01:00
Christian Grothoff
730d8c893c
-more doxygen fixes
2022-02-12 12:35:03 +01:00
Christian Grothoff
a0d9d59b73
-refactor to address FIXME
2022-02-12 12:20:12 +01:00
Christian Grothoff
ea4be7ba6f
-swap argument/rval for nicer code
2022-02-12 11:42:25 +01:00
Christian Grothoff
bc14c215b3
-doxygen fixes
2022-02-12 11:12:33 +01:00
Christian Grothoff
819b67426c
-doxygen fixes
2022-02-12 10:33:23 +01:00
Christian Grothoff
c93150b8cd
-work on more FIXMEs
2022-02-12 01:00:31 +01:00
Christian Grothoff
94a5359494
-address misc. fixmes
2022-02-12 00:52:19 +01:00
Christian Grothoff
9f77398fe2
-fix use of uninit memory in test
2022-02-11 17:44:18 +01:00
Christian Grothoff
0eb5b08d50
-minor API clean up
2022-02-11 17:05:57 +01:00
Christian Grothoff
4472cbaf9d
-simplify structures
2022-02-11 11:55:59 +01:00
Christian Grothoff
0995bdd1d0
-get tests to pass
2022-02-11 09:36:01 +01:00
Christian Grothoff
532d4ad0dc
-fixes to tests, and half-baked fixes for CS-/link (still fails)
2022-02-10 23:39:00 +01:00
Christian Grothoff
d58d89dcab
-get recoup/refresh to pass
2022-02-10 20:15:17 +01:00
Christian Grothoff
025922950d
pass exchange values to /recoup
2022-02-09 22:02:29 +01:00
Christian Grothoff
12290af845
-clean up crypto
2022-02-09 10:49:10 +01:00
Christian Grothoff
b3cf788424
-more test fixes
2022-02-08 14:02:27 +01:00
Christian Grothoff
8cbe16a220
fix refresh/link tests
2022-02-08 09:58:22 +01:00
Christian Grothoff
7eb989b2df
-get melt and refresh-reveal to pass again
2022-02-08 00:12:56 +01:00
Christian Grothoff
b84fb618c3
fix refreshes_reveal FTBFS
2022-02-07 13:41:55 +01:00
Christian Grothoff
169d684342
-towards CS in refresh (incomplete, FTBFS)
2022-02-07 13:23:20 +01:00
Christian Grothoff
b2e6fcae1a
fix DB API for generic blinded planchet storage
2022-02-07 13:14:25 +01:00
Christian Grothoff
fb9ba5b1d2
-rename fest
2022-02-07 12:33:35 +01:00
Christian Grothoff
d850ed9ca1
-fix test_crypto
2022-02-07 11:23:53 +01:00
Christian Grothoff
031e365814
fix FTBFS of main logic
2022-02-07 10:55:07 +01:00
Christian Grothoff
2164c36f0f
got testing_api_cmd_refresh to compile
2022-02-07 10:09:12 +01:00
Christian Grothoff
5ff3189075
-fix recoup testing cmds
2022-02-06 20:04:36 +01:00
Christian Grothoff
62d8368b1b
-fix more FTBFS issues
2022-02-06 19:53:23 +01:00
Christian Grothoff
66abbcac3f
-fix more FTBFS issues
2022-02-06 19:44:05 +01:00
Christian Grothoff
f173296c3c
-fix refresh FTBFS
2022-02-06 18:39:28 +01:00
Gian Demarmels
9fc3b7a278
Merge branch 'master' of ssh://git.taler.net/exchange
2022-02-05 23:12:31 +01:00
Gian Demarmels
b280b1db04
fix src/util
2022-02-05 23:12:21 +01:00
Lucien Heuzeveldt
251f2b5987
implement csr max request elements
2022-02-05 22:46:36 +01:00
Gian Demarmels
f46dc9ea5e
Merge branch 'master' of ssh://git.taler.net/exchange
2022-02-05 00:33:16 +01:00
Gian Demarmels
c42376cf40
crypto implementation
2022-02-05 00:32:53 +01:00
Christian Grothoff
41acdf11b8
make API actually workable, sketch out melt
2022-02-05 00:02:38 +01:00
Christian Grothoff
b30765c7d0
make API actually workable, sketch out melt
2022-02-04 23:58:41 +01:00
Christian Grothoff
cfc6c3fcd0
make API actually workable:
2022-02-04 23:09:19 +01:00
Christian Grothoff
d833966d52
-API work
2022-02-04 22:02:48 +01:00
Christian Grothoff
bd5a25aff2
-fix comment
2022-02-04 21:20:26 +01:00
Christian Grothoff
57dc3cd232
new API
2022-02-04 21:12:54 +01:00
Christian Grothoff
ed136c1f2d
sync
2022-02-04 20:02:16 +01:00
Christian Grothoff
03fd154a69
messing with CS/RSA fixes
2022-02-04 19:30:15 +01:00
Gian Demarmels
a67786078b
resolves merge conflicts
2022-02-04 16:50:32 +01:00
Gian Demarmels
086cf05794
refactor TALER_coin_ev_hash
2022-02-04 15:37:34 +01:00
Gian Demarmels
2213012866
include denom_pub into coin_ev_hash
2022-02-04 15:37:34 +01:00
Gian Demarmels
be50c084f8
fixed nonce check, renamed WithdrawNonce
2022-02-04 15:37:33 +01:00
Gian Demarmels
bcc159de17
introduce new type for security module pubkeys
2022-02-04 15:37:32 +01:00
Lucien Heuzeveldt
8d85c8b5b6
implement feedback
2022-02-04 15:37:30 +01:00
Gian Demarmels
5b7e8f9ac5
refactoring
2022-02-04 15:36:11 +01:00
Gian Demarmels
9c2aefaa51
removed varargs
2022-02-04 15:36:08 +01:00
Lucien Heuzeveldt
9074e66ebc
implement withdraw (nonce reuse check missing)
2022-02-04 15:35:31 +01:00
Gian Demarmels
2d70c8c6d0
secmod CS sign implementation
2022-02-04 15:34:21 +01:00
Lucien Heuzeveldt
82405b0ce5
implement CS key handling and csr endpoint
2022-02-04 15:34:19 +01:00
Lucien Heuzeveldt
36f551ff33
set planchet detail cipher, add cipher checks
2022-02-04 15:33:14 +01:00
Lucien Heuzeveldt
106664ed0c
implement TALER_CRYPTO_helper_cs_r_derive and related tests
2022-02-04 15:33:13 +01:00
Gian Demarmels
18db69be2d
initial cs_secmod implementation
2022-02-04 15:33:11 +01:00
Gian Demarmels
f239b01be1
secmod cs signatures implementation
2022-02-04 15:33:11 +01:00
Lucien Heuzeveldt
fbb6d03f69
fix const due to changes in TALER_planchet_prepare
2022-02-04 15:33:10 +01:00
Lucien Heuzeveldt
cf4fd36cc4
remove varargs in cs crypto implementation
2022-02-04 15:33:09 +01:00
Gian Demarmels
4bcbd704df
utility functions
2022-02-04 15:33:09 +01:00
Gian Demarmels
ca247f6f58
fixed CS signatures and cleanup/refactoring
2022-02-04 15:33:09 +01:00
Lucien Heuzeveldt
3225566c93
implement exchange_api_csr
2022-02-04 15:33:07 +01:00
Gian Demarmels
db9b84970d
add sign and verify implementation
2022-02-04 15:31:50 +01:00
Gian Demarmels
5d2157a8f6
sign_blinded implementation
2022-02-04 15:31:49 +01:00
Gian Demarmels
f1ec1e70a0
implemented planchet_prepare for CS
2022-02-04 15:31:49 +01:00
Gian Demarmels
a02ab8f81b
added CS get R functionality and planchet setup
2022-02-04 15:31:48 +01:00
Gian Demarmels
385eb51e93
CS planchet create and withdraw create
2022-02-04 15:31:48 +01:00
Gian Demarmels
f3fb7c29e6
added CS data structures, implemented CS keypair
2022-02-04 15:31:45 +01:00
e6e0cabf08
test and hopefully fix JSON canonicalization
2022-01-27 20:25:40 +01:00
8684a9bfea
[age_restriction] progress 13/n
...
- major refactoring of extensions
- extensions live now in a separate library, libtalerextensions
- refactored all components using age_restriction accordingly
- plumbing for plugin support for extensions roughly layed down
2022-01-23 01:36:21 +01:00
1962ed6b0b
improvements in extension handling
...
- extensions_sig is needed globally
- keep original json with config of extension
- fixed various bugs re: extension handling
2022-01-22 00:26:43 +01:00
0b56de6c99
[age restriction] progress 12/n
...
- taler-offline-tool now handles extensions
- command "extensions" added with subcommands "show" and "sign"
- parses extensions from taler config
- shows and signs of extensions and their configurations
- creates signed set of configurations for upload
- added test for retrieval of extension config
- simplified signature verification for extensions
- remove per-extension signatures, also from DB schema
- adjust prepared statements accordingly
- adjust DB event handler for extensions
- allow NULL for config for extension in DB schema
- handler for /management/extensions adjusted to new datastructures
- changed test for TALER_denom_blind/TALER_denom_sign_blinded with and
without TALER_AgeHash
- minor updates and various fixes
2022-01-21 15:41:02 +01:00
Jonathan Buchanan
c10b783521
use 'pipe' instead of 'eventfd' on non-Linux systems
2022-01-18 09:15:54 -05:00
Christian Grothoff
e7aeec04f4
The current recoup API is broken. I guess this is another example where "trivial" API changes turn out to have (multiple!) unexpected consequences.
...
The current "/recoup" API does not have clear idempotency semantics, as we've discussed on the phone. This is already bad by itself, as it makes it hard to write down what the API does other than "whatever the implementation does".
However, it actually breaks correctness in this (admittedly kinda contrived, but not impossible) case:
Say that we have a coin A obtained via withdrawal and a coin B obtained via refreshing coin A. Now the denominations of A gets revoked..
The wallet does a recoup of A for EUR:1.
Now the denomination of B also gets revoked. The wallet recoups B (incidentally also for EUR:1) and now A can be recouped again for EUR:1. But now the exchange is in a state where it will refuse a legitimate recoup request for A because the detection for an idempotent request kicks in.
This is IMHO bad API design, and the exchange should simply always recoup the maximum amount.
Furthermore, we usually follow the principle of "API calls that take up DB space are paid". With the current recoup API, I can do many tiny recoup requests which the exchange then has to store, right?
I guess it would not be a big change to remove the "amount" value from the recoup/recoup-refresh request bodies, right?
- Florian
2022-01-11 12:47:35 +01:00
e30989c930
[age restriction] progress 11/n
...
Parse age restriction information from "/keys"
- parse "age_restriction" extension, extract mask for age groups
- parse denominations from "age_restricted_denoms", too, if available
2022-01-10 00:04:23 +01:00
cc7d7707ab
[age restriction] progress 10/n
...
More work towards support for extensions:
- Prepared statements and DB-plugin-functions for setting and retrieving
configurations from the database added.
- primitive "registry" of extensions for age restrictions and peer2peer
(stub)
- TALER_Extensions now with FP for parsing, setting and converting a
configuration.
- /management/extensions handler now verifies signature of the (opaque)
json object for all extensions.
- /management/extensions handler calls the FP in the corrensponding
TALER_Extension for parsing and setting the configuration of a
particular extension
More work towards age restriction:
- TALER_Extensions interfaces for config-parser, -setter and converter
implemented for age restriction
- DB event handler now retrieves config from database, parses it and
sets it (the age mask) in the global extension.
- load_age_mask now loads age mask from the global extension (and not
from the config file)
- add age_restricted_denoms to /keys response
2022-01-08 14:40:20 +01:00
Christian Grothoff
b49fac3d58
-introduce new convenience macro
2021-12-31 11:23:42 +01:00
Christian Grothoff
5cd2bc5de3
-cleanup
2021-12-28 15:36:26 +01:00
ef4238874f
[age restriction] progress 9/n
...
More worke towards support for extensions and age restriction:
- taler-exchange-httpd_management_extensions.c almost completed
- handling of request implemented
- stub "set_extensions" for database transaction added
- utility functions added
- TALER_exchange_offline_extension_agemask_{sign,verify}
- TALER_agemask_parse_json
2021-12-27 23:24:48 +01:00
Christian Grothoff
070f442a11
resolve #7124 : ensure -s also deletes work_shards
2021-12-26 13:05:39 +01:00
Christian Grothoff
74e4c6429a
clean up refresh-reveal logic, reducing local copying
2021-12-25 16:13:06 +01:00
Christian Grothoff
f6ecb6c895
-eliminate redundant hash operation on link signatures
2021-12-25 15:39:01 +01:00
Christian Grothoff
84c9adf5a6
v12: also do not sign over merchant_pub in REFUND signature, centralize logic
2021-12-25 14:58:04 +01:00
Christian Grothoff
87376e02eb
protocol v12 changes (/recoup split, signature changes) plus database sharding plus O(n^2)=>O(n) worst-case complexity reduction on coin balance checks
2021-12-25 13:56:40 +01:00
Christian Grothoff
2c14d33870
deduplicate melt signing logic, remove coin_pub from data being signed over
2021-12-25 13:56:40 +01:00
1b23857f2c
[age restriction] progress 8/n
...
More work towards support for extensions and age restriction
- updated gana
- added handler for DB-Event
- added TEH_extensions_init() and _done()
- added global for age restriction
- added stub for post handler
- added SQL-table for extension metadata
- added enum type for extensions and other data structures
Also:
- fixed some warnings -Wmaybe-unitialized
2021-12-23 15:15:33 +01:00
Christian Grothoff
62444504f7
denormalize reserve_pub in reserve tables to enable sharding
2021-12-19 13:43:33 +01:00
Christian Grothoff
527d903678
add new wrappers around merchant hash codes for tips and pickups
2021-12-19 11:54:07 +01:00
Christian Grothoff
1acc851deb
-fix recoup ugliness
2021-12-16 20:18:44 +01:00
Christian Grothoff
1a1fafbd43
introducing GNUNET_TIME_Timestamp, recoup now with amounts
2021-12-14 16:04:40 +01:00
Christian Grothoff
fba91c63d5
introduce stored procedure for coin balance check
2021-12-09 23:13:39 +01:00
Christian Grothoff
7e84b5570a
fix error handling for very large uploads, fix re-generation of /keys response after Expires expires
2021-12-08 18:12:28 +01:00
Christian Grothoff
7dcd217b60
-fix balance calculation
2021-12-06 16:37:32 +01:00
Christian Grothoff
67de20d26e
major rework of withdraw transaction to use stored procedure and (presumably) reduce serialization failures by avoiding SELECT before INSERT
2021-12-05 17:16:00 +01:00
54c62f3ab9
[age restriction] progress 6/n
...
lift logic for detection of age restriction of a denomination out from
taler-exchange-secmod-rsa.c to taler-exchange_httpd_keys.c
2021-12-01 15:25:33 +01:00
97bae4dd65
[age restriction] progress 5/n
...
- taler-exchange-secmod-rsa
- extracts AGE_RESTRICTED per denomination from config
- propagates flag for each denomination to server
- if age restriction is set for a denomination,
age _mask_ is taken (for now!) from config
2021-11-28 18:51:25 +01:00
Christian Grothoff
fc04b91c94
integrate taler_extensions.h into dist
2021-11-27 18:50:51 +01:00
6ee13445ce
[age restriction] progress 4/n
...
- parser for age groups
- stringify age mask
2021-11-27 14:33:07 +01:00
Christian Grothoff
a5a3b2ea9a
add taler-auditor-offline test command, fixes test_auditor_api warnings
2021-11-20 13:09:16 +01:00
Christian Grothoff
bdaaa0f6cb
-fix misc. compiler warnings
2021-11-19 10:57:27 +01:00
Christian Grothoff
b61f601028
-use different hash for RSA vs. Denomination hashing
2021-11-17 23:02:05 +01:00
Christian Grothoff
422b0ffd4c
fix oauth_username issue
2021-11-16 19:31:27 +01:00
591cefd315
[age restriction] progress 3/n
...
- remove redundant struct members for age commitment hash
- undo pre-mature implementation in taler-exchange-secmod-rsa.c
- carry through age restriction parameter for TALER_denom_blind
2021-11-16 14:43:54 +01:00
Christian Grothoff
e5ead88057
complete oauth logic (in theory)
2021-11-15 20:00:45 +01:00
Christian Grothoff
0325a79631
avoid duplication
2021-11-15 14:39:18 +01:00
c97979d00a
age restriction (load per denomination). 3/n
2021-11-14 16:39:42 +01:00
7c510388b9
age restriction progress 2/n
...
Signed-off-by: Özgür Kesim <oec-taler@kesim.org>
2021-11-10 17:27:49 +01:00
Christian Grothoff
016551dbb4
misc TODOs for KYC left
2021-11-09 20:36:30 +01:00
Christian Grothoff
a9b2140b1e
get first KYC test to pass
2021-11-09 15:39:31 +01:00
Christian Grothoff
398ef9d971
implement OAuth 2.0 service
2021-11-07 23:46:23 +01:00
Christian Grothoff
6a611e39d1
add /kyc-proof cmd
2021-11-07 23:07:56 +01:00
Christian Grothoff
98c30bee88
fix payto:// construction routine and move it to libtalerutil
2021-11-07 19:22:12 +01:00
Christian Grothoff
f374a5cd38
add wallet for KYC status check
2021-11-07 17:57:23 +01:00
Christian Grothoff
4cde9e3977
add kyc-wallet test command
2021-11-07 17:42:36 +01:00
Christian Grothoff
659cd4439d
expose KYC traits for withdraw/get deposits commands
2021-11-07 14:12:54 +01:00
Christian Grothoff
121bfe3659
implement /kyc-proof client API
2021-11-07 13:05:33 +01:00
Christian Grothoff
4fff4895ad
prepare for KYC tests
2021-11-07 12:45:49 +01:00
Christian Grothoff
cd8d4bede1
add missing file
2021-11-07 11:41:53 +01:00
Christian Grothoff
81f9b2c93e
-misc fixes
2021-11-06 19:57:34 +01:00
Christian Grothoff
9d6e104066
include h_extensions in deposit confirmation
2021-11-06 19:43:47 +01:00
Christian Grothoff
57acad487d
move extension options to external table
2021-11-06 19:04:54 +01:00
Christian Grothoff
0b370a6814
add extension hashing
2021-11-06 17:26:11 +01:00
Christian Grothoff
8175fdfa0f
introduce TALER_wallet_deposit_verify
2021-11-06 16:52:14 +01:00
Christian Grothoff
f01ab79015
RSA-despecialization
2021-11-06 15:29:10 +01:00
Christian Grothoff
c3e244322b
more crypto refactoring
2021-11-05 23:01:21 +01:00
Christian Grothoff
eaf9d728f5
more crypto refactoring
2021-11-05 22:48:11 +01:00
Christian Grothoff
ba627bf84c
-fixes
2021-11-05 22:22:47 +01:00
Christian Grothoff
ebbc250f8b
-brks
2021-11-05 21:37:46 +01:00
Christian Grothoff
c787e28e84
more denom key refactoring
2021-11-05 14:18:13 +01:00
Christian Grothoff
32da809fd6
abstract denomination keys a bit more
2021-11-05 14:00:10 +01:00
Christian Grothoff
1408e1587b
introduce invalid key type
2021-11-01 23:49:13 +01:00
Christian Grothoff
783d07b476
consistently distinguish blinded/unblinded denomination sigs
2021-10-31 18:12:54 +01:00
Christian Grothoff
3eae999efc
distinguish between blind and non-blind denomination signatures
2021-10-31 17:56:56 +01:00
Christian Grothoff
de8e0907aa
DB test passes again
2021-10-31 15:32:20 +01:00
Christian Grothoff
35e3506660
fixing SQL statements
2021-10-31 13:27:50 +01:00
Christian Grothoff
43ee9da01d
misc fixes
2021-10-31 12:49:51 +01:00
Christian Grothoff
b5e9523f94
fix test FTBFS
2021-10-31 10:32:10 +01:00
Christian Grothoff
41bfdb4509
-fix FTBFS issues
2021-10-31 00:21:46 +02:00
Christian Grothoff
2faf102a05
-more dB work
2021-10-30 21:26:40 +02:00
Christian Grothoff
bc57abc3da
-more dB work
2021-10-30 20:49:23 +02:00
Christian Grothoff
d83a65320a
-more work on FTBFS issues
2021-10-30 19:57:54 +02:00
Christian Grothoff
963a06c0aa
fix more FTBFS issues
2021-10-30 19:28:11 +02:00
Christian Grothoff
0a3731f439
add another amount trait
2021-10-28 21:41:32 +02:00
Christian Grothoff
fef26ec525
-fixes
2021-10-28 19:48:01 +02:00
Christian Grothoff
0996b83a65
libtalertesting compiles
2021-10-27 22:28:52 +02:00
Christian Grothoff
382fb837bd
-work on testing FTBFS
2021-10-27 21:59:04 +02:00
Christian Grothoff
b449c7353e
work on testing ftbfs
2021-10-27 18:37:42 +02:00
Christian Grothoff
3f630eafc4
the big macrofication of the traits
2021-10-27 15:21:48 +02:00
Christian Grothoff
77142acbe8
fix lib/ FTBFS
2021-10-27 13:42:54 +02:00
Christian Grothoff
b148a5a81a
rename fest
2021-10-27 13:23:14 +02:00
Christian Grothoff
fd615f3e33
-fix exchange FTBFS
2021-10-27 09:23:14 +02:00
Christian Grothoff
74234f75a4
-work on FTBFS
2021-10-27 09:23:13 +02:00
Christian Grothoff
f0951d34dd
-fix more FTBFS
2021-10-27 09:23:13 +02:00
Christian Grothoff
f7d08e8c2b
-work on FTBFS;
2021-10-27 09:23:13 +02:00
Christian Grothoff
58ea04167c
-fix misc FTBFS
2021-10-27 09:23:13 +02:00
Christian Grothoff
3af7bc0a29
-more FTBFS fixes
2021-10-27 09:23:12 +02:00
Christian Grothoff
464c1f806c
-more changes towards fixing FTBFS
2021-10-27 09:23:12 +02:00
Christian Grothoff
868a4ce76d
-resovling more FTBFS issues
2021-10-27 09:23:12 +02:00
Christian Grothoff
42bdb5aa6e
-fixing more FTBFS
2021-10-27 09:23:11 +02:00
Christian Grothoff
fc371ea18b
start to work on transformation
2021-10-27 09:23:11 +02:00
Christian Grothoff
55632b1fbf
brutally fixing types in src/include/, creating plenty of FTBFS issues
2021-10-27 09:23:11 +02:00
e6d55a77f9
remove unused anastasis signature tag
2021-10-21 08:27:22 +02:00
Christian Grothoff
9adb9cfe61
simplify deposit, do not return kyc status, not needed
2021-10-20 18:56:59 +02:00
Christian Grothoff
c13810ba2c
fix #7049 : immediate restart of MHD when already running
2021-10-20 16:01:11 +02:00
Christian Grothoff
778a402d07
-implement more of the KYC handlers
2021-10-19 21:02:10 +02:00
Christian Grothoff
bde1394ee4
implement /kyc-wallet in libtalerexchange
2021-10-17 20:30:06 +02:00
Christian Grothoff
b38b51d5e8
implement /kyc-check, add skeleton for /kyc-proof
2021-10-17 15:58:23 +02:00
Christian Grothoff
4e3b133e47
-incomplete draft for /kyc-wallet handler
2021-10-17 14:12:13 +02:00
Christian Grothoff
932d2aaf88
implement returning KYC status from GET /deposits/ endpoint
2021-10-17 13:22:15 +02:00
Christian Grothoff
0739405f67
-add missing def
2021-10-17 10:42:02 +02:00
Christian Grothoff
d1992e5983
new configuration option: wallet balance threshold
2021-10-16 19:24:08 +02:00
Christian Grothoff
a48db85013
add KYC logic for /deposit handling (DB part incomplete)
2021-10-15 23:34:23 +02:00
Christian Grothoff
ca12adced4
-basic logic for withdraw KYC checks
2021-10-14 21:06:47 +02:00
Christian Grothoff
7d62fa065b
start with KYC support in DB
2021-10-14 14:45:10 +02:00
Christian Grothoff
acbadd5c6e
-modify C API to future-proof it for returning more details as required for KYC implementation
2021-10-13 18:52:59 +02:00
Christian Grothoff
8951abfc50
-finish implemnetation of /kyc-check client library
2021-10-10 17:18:24 +02:00
Christian Grothoff
df681b0d95
-draft API for new /kyc-check endpoint
2021-10-10 15:37:05 +02:00
Christian Grothoff
d8922f82e5
-introduce 'struct TALER_WireSalt'
2021-10-09 16:11:04 +02:00
Christian Grothoff
01c7f33c7f
-indent
2021-09-27 10:52:39 +02:00
Christian Grothoff
b38f251beb
-DCE, nicer return values
2021-09-17 11:35:10 +02:00
Christian Grothoff
ed6ab2f91a
-minor fixes
2021-09-06 12:01:15 +02:00
Christian Grothoff
ae8d481e1c
implement taler-exchange-transfer DB sharding logic
2021-09-05 15:25:57 +02:00
Christian Grothoff
adc6c53b5c
doxygen and spelling fixes
2021-09-04 13:00:20 +02:00
Christian Grothoff
1c1d28d3f5
first draft for an aggregator benchmark, plus fixing inclusive/exclusive sharding range issues
2021-09-03 21:30:14 +02:00
Christian Grothoff
5149af9314
preliminary work on supporting sharding/parallel aggregation (undertested, but tests pass again)
2021-09-03 19:08:02 +02:00
Christian Grothoff
6e1877b142
-implement long-standing aggregation SQL query simplification
2021-09-03 09:55:16 +02:00
Christian Grothoff
bf2ce9853e
add long-time overdue convenience function
2021-09-01 11:11:41 +02:00
Christian Grothoff
5026518bb5
-fix another leak
2021-08-27 16:17:45 +02:00
Christian Grothoff
5017dacbda
-fix memory leak
2021-08-27 14:36:04 +02:00
Christian Grothoff
e50a5f4d2b
-update GANA
2021-08-25 07:58:07 +02:00
Christian Grothoff
01e06eb715
-remove sessions also from auditor
2021-08-23 08:24:59 +02:00
Christian Grothoff
c559b1c935
complete implementation of long-polling for reserve status; remove support for multi-threaded exchange httpd
2021-08-23 00:00:32 +02:00
Christian Grothoff
10f9272e45
-implement long polling support on reserve status (but not yet in C client library)
2021-08-22 00:12:18 +02:00
Christian Grothoff
f98c463be2
export TALER_iban_validate() API
2021-08-14 13:54:12 +02:00
Christian Grothoff
41aa1ed41d
-add support for event notifications to exchangedb plugin
2021-08-13 22:35:13 +02:00
Christian Grothoff
f174781b57
support long_poll_ms argument in bank API ( #6987 )
2021-08-12 13:13:42 +02:00
Christian Grothoff
b58605a79d
introduce TALER_OS_init() to safely handle static linkage
2021-08-08 16:45:32 +02:00
Christian Grothoff
8a60e6b62f
-fix fakebank/tewgc logic and add test case
2021-08-07 17:50:53 +02:00
Christian Grothoff
ba3f70390a
restructure configuration, move bank account credentials from exchange-account-XXX to exchange-accountcredentials-XXX
2021-08-03 21:58:36 +02:00
Christian Grothoff
61450fad8d
-add i18n object syntax check
2021-08-02 22:16:01 +02:00
Christian Grothoff
3a6ae694ec
-work on #6948
2021-08-02 19:48:37 +02:00
Christian Grothoff
c4ae15c1db
-strengthen payto validation logic
2021-08-02 19:38:23 +02:00
Christian Grothoff
2e6b8e10de
-doxygen fix
2021-08-02 16:04:11 +02:00
Christian Grothoff
d8d1453789
-misc doxygen fixes
2021-08-01 23:06:16 +02:00
Christian Grothoff
d45774ccec
introduce TALER_JSON_pack_ec
2021-08-01 15:36:38 +02:00
Christian Grothoff
f1f0bf637b
build system: also obtain event type registry from GANA
2021-08-01 13:56:48 +02:00
Christian Grothoff
fde9dc80f6
-more json_pack cleaning
2021-07-31 21:40:48 +02:00
Christian Grothoff
1d54400a02
-more eliminations of json_pack
2021-07-31 20:27:16 +02:00
Christian Grothoff
0ef7c0a0b7
fix #6960
2021-07-29 23:56:46 +02:00
Christian Grothoff
6516f1899f
start to use new GNUNET_JSON_PACK functionality
2021-07-28 09:13:21 +02:00
Christian Grothoff
91bb5623de
JSON: implement taler-specific json pack functions
2021-07-26 17:26:09 +02:00
Christian Grothoff
42decef957
fix #6939 in exchange
2021-07-24 09:00:35 +02:00
Christian Grothoff
098bd64f39
-fix struct name
2021-07-23 18:43:03 +02:00
Christian Grothoff
306a08a71c
-rename TALER_amount_get_zero to TALER_amount_set_zero
2021-07-23 13:02:04 +02:00
Christian Grothoff
95f0fdf369
distinguish between input failure and internal failures when hashing contracts
2021-07-21 20:21:08 +02:00
Christian Grothoff
d37e4eabc4
-use nicer enum
2021-07-20 15:38:56 +02:00
Christian Grothoff
d942f2ea6c
-fix comment
2021-07-14 14:49:07 +02:00
Christian Grothoff
7670039773
-fix comment
2021-07-14 14:47:32 +02:00
Christian Grothoff
5ebc3b0e5b
-fix typo
2021-07-14 14:34:31 +02:00
Christian Grothoff
249ba03c36
expose 2^52 amount value limit in header, check that limit in test cases, add TALER_amount_multiply and TALER_amount_divide2 operations
2021-07-10 14:55:35 +02:00
Christian Grothoff
ba5af82db1
-bugfixes, and FTBFS
2021-06-22 14:47:54 +02:00
Christian Grothoff
9c51720cbf
fixing parallel fakebank to ensure transactions are ordered, fixing indices/constraint preservation after DB update to 0002
2021-06-21 00:17:16 +02:00
Christian Grothoff
108bf57d04
preparations for sharded wirewatch
2021-06-20 16:41:04 +02:00
Christian Grothoff
8c0492be71
misc fakebank fixes
2021-06-19 14:52:13 +02:00
Christian Grothoff
fdf095c6ef
initial version of taler-bank-benchmark
2021-06-19 13:59:03 +02:00
Christian Grothoff
50749c462b
make libfakebank scale
2021-06-19 08:36:17 +02:00
Christian Grothoff
036e711779
extend fakebank API to have thread pool option
2021-06-19 05:00:45 +02:00
Christian Grothoff
6680f9b4ef
implement logic to replace 'true' forgettable salts with random salts, fix object deletion when forgetting
2021-06-16 23:12:21 +02:00
Christian Grothoff
068068f40f
return signed error message with HTTP_GONE status if denomination is not currently valid for specified operation ( #6889 )
2021-05-25 21:34:18 +02:00
Christian Grothoff
0d1ab614c0
return signed 404 statements for unknown denomination key hashes ( #6889 )
2021-05-25 20:52:58 +02:00
Christian Grothoff
b2b1f88ab6
add HTTP status argument to testin gCMD admin_add_incoming_with_ref for merchant tests
2021-05-25 20:10:46 +02:00
Christian Grothoff
4741f4ea02
implement duplicate reserve_pub detection in fakebank, add test (fails in pybank), for #6863
2021-05-20 12:31:27 +02:00
Christian Grothoff
3ef39e51f3
more work on hopefully fixing #6862
2021-05-14 18:08:45 +02:00