Commit Graph

317 Commits

Author SHA1 Message Date
Christian Grothoff
1e5976a3e9
-remove linger 2023-07-16 15:44:40 +02:00
Christian Grothoff
3ce29a711b
clean up taler-bank-benchmark 2023-07-16 12:09:23 +02:00
Christian Grothoff
ec03f262b6
fix taler-aggregator-benchmark 2023-07-16 11:25:22 +02:00
Christian Grothoff
942dd73794
-ignore 2023-07-15 22:37:21 +02:00
Christian Grothoff
cd5fafffe2
-get taler-exchange-benchmark to work 2023-07-15 22:33:49 +02:00
Christian Grothoff
cd45ba408a
-fix up config 2023-07-15 19:29:13 +02:00
Christian Grothoff
d3607c286d
clean up taler-exchange-benchmark code 2023-07-15 16:08:06 +02:00
Christian Grothoff
7bb9547599
more API cleanup 2023-06-22 20:26:34 +02:00
Christian Grothoff
a2dde02b64
major libtalertesting API refactoring, including no longer having taler-specific logic in the test engine core 2023-06-07 23:11:05 +02:00
Christian Grothoff
015b08b048
new command to use taler-benchmark-setup.sh 2023-06-05 17:01:23 +02:00
Christian Grothoff
4355a08769
-docu 2023-06-05 15:58:03 +02:00
Christian Grothoff
4a86d411de
expand taler-benchmark-setup script 2023-06-05 15:54:20 +02:00
Christian Grothoff
27f22ef1d2
more fixes for taler-benchmark-setup 2023-06-05 15:13:41 +02:00
Christian Grothoff
8cc1edfe0a
work on cleaning up benchmark logic 2023-06-05 00:24:01 +02:00
Christian Grothoff
82fd1a1164
try to create universal benchmark setup script 2023-06-04 22:33:23 +02:00
Christian Grothoff
89e2a02380
-style 2023-05-21 19:25:31 +02:00
Christian Grothoff
d36f1b3b6a
-fix SQL 2023-05-21 19:20:09 +02:00
Christian Grothoff
aa8d44aab3
-typo 2023-05-21 18:47:39 +02:00
Christian Grothoff
144b3a50a9
-minor fixes 2023-05-21 14:50:50 +02:00
Christian Grothoff
9e61579c8b
-misc fixes 2023-04-22 02:26:44 +02:00
Joseph
b90d25ecfc
Rollback in sqlcode 2022-12-21 05:29:47 -05:00
Christian Grothoff
b0f746cf3e
-enable batch testing and no DB rest in bank benchmark 2022-12-20 12:32:42 +01:00
Christian Grothoff
80660f2d88
return 204 on empty transaction history, as per API 2022-12-19 14:13:55 +01:00
Christian Grothoff
d3a9160e0f
-fix error message 2022-12-19 14:08:26 +01:00
Christian Grothoff
5ead879726
-debug dbinit call 2022-12-19 14:01:03 +01:00
Christian Grothoff
93e8e6e0f7
-debug dbinit call 2022-12-19 14:00:28 +01:00
Christian Grothoff
ea140f783b
-debugging' 2022-12-19 13:53:42 +01:00
Christian Grothoff
24c0969873
ensure Postgres CPPFLAGS are set before libgnunetpq check 2022-12-19 13:29:07 +01:00
Christian Grothoff
a03e4fa72f
-fix crash if dbinit is not found 2022-12-19 13:01:10 +01:00
Christian Grothoff
481ffc1a0a
remove wad fee, kyc fee and kyc-timeout 2022-11-01 16:43:59 +01:00
Christian Grothoff
6e56693071
-add missing asserts, fix logic issue 2022-10-22 00:14:20 +02:00
Christian Grothoff
a199ba7fe6
-fix some clang warnings 2022-08-22 00:08:28 +02:00
Christian Grothoff
644f6014ae
-link to bug 2022-07-05 13:06:31 +02:00
Thien-Thi Nguyen
dc17320a88
add libtalerexchange.la to _LDADD
* src/benchmark/Makefile.am (taler_bank_benchmark_LDADD): ...here.
2022-07-02 19:06:16 -04:00
Christian Grothoff
b9a30d29cb
-fix minor bugs 2022-06-07 15:02:16 +02:00
Christian Grothoff
f4eb53f2a4
-fix dist 2022-06-05 00:53:09 +02:00
Christian Grothoff
21bcc5fa0b
-fix wirewatch assertion 2022-05-22 13:48:56 +02:00
b84c88fc04
Fixed seed size for TALER_age_restriction_commit
Also, added src/util/tv_age_restriction.{c,json} for/as test vectors for
age restriction.
2022-04-21 14:27:29 +02:00
Christian Grothoff
747ae5ef09
privatize more signature structs, simplify code 2022-03-31 12:37:39 +02:00
Christian Grothoff
7ff58c3d8f
refactor /wire to include logic to return the wad fee (for W2W payments) 2022-03-05 14:36:55 +01:00
7624db4efd
-refactor TALER_AgeMask.mask -> TALER_AgeMask.bits
also: fix off-by-one in TALER_age_restriction_commit
2022-03-02 10:59:42 +01:00
e9eb00e285
Refactoring TALER_AgeCommitment
Instead of a single struct TALER_AgeCommitment, we now use
 1. TALER_AgeCommitment for the age mask and list public keys for age
    restriciton.
 2. TALER_AgeProof for list of private keys for age restriction
 3. TALER_AgeCommitmentProof for the aggregation of the former two.

Also, we introduce TALER_AgeAttestation as the EDDSA signature to attest
a particular age group, along with the function prototypes
TALER_age_commitment_attest and TALER_age_commitment_verify.
2022-03-01 17:02:37 +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
Thien-Thi Nguyen
e02c850acf
add libtalerextensions.la to _LDADD (two instances)
* src/benchmark/Makefile.am (taler_bank_benchmark_LDADD): ...here.
* src/exchange-tools/Makefile.am (taler_auditor_offline_LDADD): Likewise.
2022-02-19 21:36:08 -05: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
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
0995bdd1d0
-get tests to pass 2022-02-11 09:36:01 +01:00