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
Christian Grothoff
5f268913dd
return NO if forgetting did not work because it was already forgotten earlier
2021-05-11 19:17:09 +02:00
Christian Grothoff
20c70845c0
return more precise error codes from TALER_EXCHANGE_deposit() if failures are detected client-side ( #6817 )
2021-04-24 19:54:47 +02:00
Christian Grothoff
a140c114d3
more doxygen fixes
2021-04-23 23:39:07 +02:00
Christian Grothoff
4384c6ec85
fix misc doxygen issues
2021-04-21 20:28:30 +02:00
Christian Grothoff
7562f0e592
-fix ftbfs on first make
2021-04-18 15:38:53 +02:00
Christian Grothoff
0453ef45df
add ability to change Authorization header in via interpreter command ( #6778 )
2021-04-17 20:06:34 +02:00
Christian Grothoff
a1705fe421
add gettext support
2021-04-05 20:11:45 +02:00
Christian Grothoff
004a7c9d54
implement convenience function to extract i18n values from JSON (for #6749 )
2021-04-05 18:40:23 +02:00
Christian Grothoff
b299ae6e69
expose xmime_matches
2021-04-04 19:04:55 +02:00
Sebastian
c1a58ef343
added missing currency in ser/deser, see #6744
2021-02-15 17:03:44 -03:00
Christian Grothoff
9eaa2a24e6
need enum value for taler://-URLs
2021-02-09 19:34:10 +01:00
Christian Grothoff
3b9c381112
remove master_pub from DB
2021-01-15 11:53:54 +01:00
Christian Grothoff
e3a0bc0d1f
fix sync issues, add rudimentary test
2021-01-13 19:47:45 +01:00
Christian Grothoff
2518da8f45
taler-auditor-sync WiP
2021-01-11 23:02:22 +01:00
Christian Grothoff
278b35a0fb
more work on INSERT statements
2021-01-10 18:40:39 +01:00
Christian Grothoff
af97a44ae6
complete select_serial_by_* SELECT statements
2021-01-10 18:06:18 +01:00
Christian Grothoff
b40afe196c
remove redundant old_coin_pub from link data
2021-01-10 12:15:47 +01:00
Christian Grothoff
ca66a1d1af
fix major bug with SQL statement missing ORDER BY freshcoin_index resulting in possible link failures (but usually lucky with old DB schema)
2021-01-10 00:54:12 +01:00
Christian Grothoff
02ecf68a3d
more optimizations of tables with foreign keys
2021-01-09 13:18:01 +01:00
Christian Grothoff
260e287685
change wire_reference to be uint64_t always; more work on lrbt_callbacks
2021-01-08 23:36:09 +01:00
Christian Grothoff
13555448b6
change exchange database to use denominations_serial instead of denom_pub_hash as foreign key
2021-01-08 18:14:46 +01:00
Christian Grothoff
40551fa08e
add -i option to taler-auditor
2021-01-06 22:51:55 +01:00
Christian Grothoff
26410a72c2
fix #6666 , bump protocol version to 9
2021-01-01 15:48:43 +01:00
Christian Grothoff
57c9054784
implement #6161
2020-12-26 15:55:34 +01:00
Christian Grothoff
fe232f1fed
integrate auditor signature check logic with taler-helper-auditor-coins
2020-12-22 18:27:34 +01:00
Christian Grothoff
a644355c44
address FIXME: pass session when iterating over denominations
2020-12-22 18:13:46 +01:00
Christian Grothoff
c57d2f0468
spell checking issues
2020-12-20 17:11:52 +01:00
Christian Grothoff
699916056b
misc doxygen fixes
2020-12-20 17:10:09 +01:00
Christian Grothoff
f930a8c9d0
simplify further
2020-12-17 15:46:52 +01:00
Christian Grothoff
b74612fc33
update auditordb and test logic to work with new key separation logic ( #6175 )
2020-12-17 13:04:37 +01:00
Christian Grothoff
6f6c71a8d3
load fees from DB instead of from config, also in wire tools
2020-12-16 19:23:29 +01:00
Christian Grothoff
96b4c139ee
add auditor-enable /-disable commands to taler-exchange-offline tool
2020-12-16 12:56:35 +01:00
Christian Grothoff
04f2e9a4d5
(start to) remove logic no longer needed with new key management
2020-12-14 17:12:48 +01:00
Christian Grothoff
b5d88fc2d1
activating implementation of #6175
2020-12-14 15:42:32 +01:00
Christian Grothoff
3743d200ad
misc clean ups
2020-12-11 23:10:32 +01:00
Christian Grothoff
35bec60894
implement POST /managment/keys
2020-12-10 11:49:20 +01:00
Christian Grothoff
fa1914b267
work on new logic to generate /wire response
2020-12-09 12:31:10 +01:00
Christian Grothoff
22c9321e67
expand exchangedb plugin for new /keys logic
2020-12-06 21:54:32 +01:00
Christian Grothoff
d9ac8e7975
incomplete work on forthcoming /keys implementation
2020-12-06 16:53:29 +01:00
Christian Grothoff
70b0839644
implement new taler-auditor-offline tool
2020-12-06 00:05:45 +01:00
Christian Grothoff
e0b62b0a49
towards offline tool uploading /management/keys
2020-12-05 21:33:30 +01:00
Christian Grothoff
8170e1e9ab
move all TALER_SIGNATURE_SM_-operations to secmod_signatures.c
2020-12-05 19:47:54 +01:00
Christian Grothoff
6cceb617af
centralize (most) offline signing/verifying operations into offline_signatures.c
2020-12-04 20:29:18 +01:00
d3b714922f
conditionally use (un)blinding implementation from libgnunetutil
2020-12-04 12:10:09 +01:00
Christian Grothoff
06b8ed9ba8
start with exchange management test
2020-12-01 09:19:58 +01:00
Christian Grothoff
4b2504a3c3
doxygen fixes
2020-11-30 14:16:42 +01:00
Christian Grothoff
a1af10a832
add API for /management/wire-fees
2020-11-30 14:05:34 +01:00
Christian Grothoff
a3548f0efb
add command to add auditor's denomination signature
2020-11-30 11:51:42 +01:00
Christian Grothoff
e89bb8edaa
more DB functions for new /management/ endpoints
2020-11-29 18:02:00 +01:00
Christian Grothoff
855e7829d7
more work on DB plugin for managemetn API
2020-11-29 17:27:53 +01:00
Christian Grothoff
6b434c626f
work on DB logic, add auditor_name to /management/auditors API
2020-11-29 16:21:10 +01:00
Christian Grothoff
3240844e48
get code for most new endpoints to build (but DB not done)
2020-11-29 14:32:39 +01:00
Christian Grothoff
b65a2f77eb
sketch logic for wire-fee management endpoint
2020-11-28 18:56:29 +01:00
Christian Grothoff
3d8abcc041
more work on new endpoints
2020-11-28 17:18:22 +01:00
Christian Grothoff
a69079ef6c
add cmd to revoke exchange online signing key
2020-11-27 00:36:19 +01:00
Christian Grothoff
b1932df0ce
add new cmd to revoke denominations via HTTP API
2020-11-27 00:26:30 +01:00
Christian Grothoff
1e6091d1dd
cmd to add/del wire methods from list of accounts
2020-11-27 00:05:34 +01:00
Christian Grothoff
98f5960411
cmd to del auditor
2020-11-26 22:54:33 +01:00
Christian Grothoff
1c1d4d9974
cmd to add auditor
2020-11-26 22:49:42 +01:00
Christian Grothoff
2c88cff283
add logic to parse and check secmod signatures
2020-11-26 15:00:34 +01:00
Christian Grothoff
19ca32693a
post keys client logic
2020-11-25 21:55:01 +01:00
Christian Grothoff
4d9b672a72
enable auditor disable client logic
2020-11-25 21:29:04 +01:00
Christian Grothoff
fd91a6aded
implement first new client API
2020-11-25 21:19:13 +01:00
Christian Grothoff
87bc48f513
extended exchange APIs for #6175
2020-11-25 20:26:08 +01:00
Christian Grothoff
77dbb83276
implement exchange online signing key client library
2020-11-23 20:30:10 +01:00
Christian Grothoff
3e37c63fbd
implement sm signing of key announcements
2020-11-23 16:36:07 +01:00
Christian Grothoff
9b68dbb8e6
implementing client library for talking to the crypto helper process
2020-11-21 23:58:00 +01:00
Christian Grothoff
4f0e38ab12
more work on crypto RSA helper
2020-11-14 22:27:50 +01:00
Christian Grothoff
4129b724a0
doxygen fixes, update ChangeLog, bump version
2020-10-03 16:08:01 +02:00
Christian Grothoff
c62a7fdc6b
fix exchange 'make dist' rules
2020-09-11 22:34:08 +02:00
Christian Grothoff
2aca3b5eff
use enum instead of int
2020-08-29 11:55:40 +02:00
Christian Grothoff
0846ab93bc
doxygen fixes
2020-08-29 00:37:37 +02:00
Christian Grothoff
f486df99c8
fail if exchange-account configuration is definitively wrong ( #5642 )
2020-08-28 23:43:05 +02:00
Christian Grothoff
4bba726356
nicer generic error reporting logic, for #6432
2020-08-25 15:11:56 +02:00
Christian Grothoff
46dde9368f
implement i18n lookup logic for #6458
2020-08-19 18:19:00 +02:00
Christian Grothoff
6256bdb15a
implement #6478 , but untested as shown by FIXMEs
2020-08-12 20:12:39 +02:00
Christian Grothoff
26f72f8572
fix refund handling: allow refund increases for the same coin
2020-08-12 13:02:59 +02:00
Christian Grothoff
f1cc1ca208
expose language check logic
2020-08-03 01:16:53 +02:00
Jonathan Buchanan
efa567fbb4
trait for claim token
2020-07-29 01:26:36 -04:00
MS
7c2de4c5e6
payto parser: extract 'subject' parameter.
2020-07-27 12:48:48 +02:00
Christian Grothoff
e1fcb2b26c
define claim token
2020-07-27 10:42:41 +02:00
Jonathan Buchanan
c24a18e1a5
remove TALER_TESTING_cmd_admin_add_incoming_with_instance and TALER_EXCHANGE_refund2
2020-07-23 16:19:02 -04:00
Christian Grothoff
0e808b648a
fix misc typos
2020-07-22 23:56:52 +02:00
Florian Dold
93923c168d
remove refund_fee from refund confirmation message and signature
2020-07-22 19:29:27 +05:30
Christian Grothoff
70090ed9a8
kill order for Florian
2020-07-22 14:48:06 +02:00
Christian Grothoff
a48592d0a4
-doxygen
2020-07-21 10:05:05 +02:00
Jonathan Buchanan
fecfa27727
add parser for json path
2020-07-21 03:14:41 -04:00
Christian Grothoff
b9f1384b52
avoid boolean flags, see #6188
2020-07-16 20:27:52 +02:00
Jonathan Buchanan
5658c4c52b
test retry transfer with same request_id
2020-07-15 20:41:45 -04:00
Christian Grothoff
e1ad498bff
first draft for #6365 , test pending
2020-07-16 01:51:45 +02:00
Christian Grothoff
90e756ddea
rename TALER_JSON_hash to TALER_JSON_contract_hash
2020-07-16 00:42:42 +02:00
Christian Grothoff
8f0a4b6095
fix #6133 : enable nice shutdown of auditor helpers with CTRL-C
2020-07-15 21:22:44 +02:00
Jonathan Buchanan
8147661f94
test for use-after-free crash when getting keys
2020-07-13 17:31:46 -04:00
Christian Grothoff
7085cfef70
test coin_priv re-use with deposit and refresh, update handling of the error code client-side
2020-07-10 23:09:46 +02:00
Christian Grothoff
ddf95c491a
remove unused/unusable coin_sig, return correct coin_pub in recoup-reveal failure context
2020-07-10 22:33:04 +02:00
Jonathan Buchanan
f708e4d64c
made a uuid trait
2020-07-09 01:39:42 -04:00
Christian Grothoff
92ac6dd11a
implement new behavior in exchange httpd and libtalerexchange (for #6416 )
2020-07-08 21:24:10 +02:00
Christian Grothoff
c3cd21508b
synchronize with latest GANA
2020-07-08 19:36:08 +02:00
Christian Grothoff
8e03498a48
add h_denom to melt signatures (for #6416 )
2020-07-08 17:59:05 +02:00
Christian Grothoff
97dfbec081
add h_denom_pub to deposit signatures
2020-07-08 15:46:51 +02:00