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
3b9d67a6f8
-get twisted tests to pass
2022-02-11 11:46:42 +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
ca7fa98016
-fix config file names
2022-02-07 14:53:32 +01:00
Christian Grothoff
f7a1f41eee
-get testing to build
2022-02-07 11:01:54 +01:00
Christian Grothoff
9d40bd5a1e
split tests by rsa/cs
2022-02-04 18:45:42 +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
a5a3b2ea9a
add taler-auditor-offline test command, fixes test_auditor_api warnings
2021-11-20 13:09:16 +01:00
Christian Grothoff
d9690fb087
add KYC test skeleton
2021-11-08 08:52:25 +01:00
Christian Grothoff
38c7180806
add oauth service faker
2021-11-07 23:42:03 +01:00
Christian Grothoff
6a611e39d1
add /kyc-proof cmd
2021-11-07 23:07:56 +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
3f630eafc4
the big macrofication of the traits
2021-10-27 15:21:48 +02:00
Christian Grothoff
26e061c212
-fix disting
2021-08-07 16:44:55 +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
148287954d
clean taler-config, needed to build proper dpkg
2021-01-02 12:00:00 +01:00
Christian Grothoff
0bffea1f67
add missing linker options
2020-12-31 22:13:12 +01:00
Christian Grothoff
6a73629aee
re-enable cherry picking test (kind-of passes, not finished)
2020-12-20 17:10:01 +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
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
06b8ed9ba8
start with exchange management test
2020-12-01 09:19:58 +01:00
Christian Grothoff
9ee7d665bd
add cmd to set wire fees / provide master_sig
2020-11-30 14:24:58 +01:00
Christian Grothoff
a3548f0efb
add command to add auditor's denomination signature
2020-11-30 11:51:42 +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
7ddd1da76d
cmd to sign keys with offline process
2020-11-26 22:55:41 +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
45d621f5ff
add -lgcov flag for coverage analysis
2020-11-12 22:25:59 +01:00
Jonathan Buchanan
f708e4d64c
made a uuid trait
2020-07-09 01:39:42 -04:00
Christian Grothoff
49f466df40
move rewind command to exchange, add proper support for rewinding in batches, modify API to rewind to label
2020-07-05 16:50:16 +02:00
Marcello Stanisci
04d4922d71
fix nexus-test return code
...
Returning zero, so as not to block the 'make check'
experience. This is useful to check whether nexus-related
changes broke tests in a different place.
2020-04-17 15:30:24 +02:00
Marcello Stanisci
4f713b40e3
Prepare and launch Nexus for tests.
2020-04-17 15:30:24 +02:00
Christian Grothoff
bf8c5982a2
make exchange API more uniform in how information is returned
2020-04-05 22:05:38 +02:00
Christian Grothoff
363e641f17
more files missing for dist target
2020-03-29 03:55:36 +02:00
Christian Grothoff
7f367110d0
more missing files for 'dist'
2020-03-29 03:41:12 +02:00
Christian Grothoff
8db48871d6
add missing files to dist
2020-03-29 03:22:55 +02:00
Christian Grothoff
d5351641f8
implement #6049
2020-03-28 20:45:53 +01:00
Christian Grothoff
17cfbced1d
fix inconsistency in field naming
2020-03-27 17:32:39 +01:00
Christian Grothoff
36f4dbab3b
adjust tests to auditor changes
2020-03-21 17:36:01 +01:00
Christian Grothoff
10c56bcea0
improving benchmarking logic, including more timings
2020-03-20 02:36:50 +01:00
Christian Grothoff
dc02821d8f
fix regression introduced by addition of 'revoke' field
2020-03-13 19:13:36 +01:00
Christian Grothoff
8d5f42fe0c
add separate commands for closer/transfer steps, modify test cases to use new commands
2020-03-12 10:53:49 +01:00
Florian Dold
03bcd50d9a
move libtalertwistertesting into the exchange
2020-01-19 16:02:04 +01:00
Florian Dold
72a629a8be
move testing logic and integration tests into separate directory
2020-01-19 15:23:33 +01:00