-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test build and services start, but libeufin-bank fails when trying to access the database to change the admin's password. We need to execute the command as the libeufin-bank user. tests/taler: add master private key tests/taler: rewrite `register_bank_account` to Nix tests/taler: rename libeufin node to bank tests/taler: use xtaler wire_type instead of iban tests/taler: remove redundant data from conf files tests/taler: enable exchange account tests/taler: remove unused talerConfig tests/taler: add client node and attempt a withdrawal tests/taler: systemd_run optional user and group args tests/taler: refactor and make a withdrawal tests/taler: refactor tasks into subtests tests/taler: properly read and test balance tests/taler: refactor commands and add comments nixos/taler: rename private key tests/taler: enable nexus service in bank node tests/taler: nexus fake incoming payment test tests/taler: use correct path for nexus client keys tests/taler: add merchant node tests/taler: merchant register instance tests/taler: init pay for order merchant tests/taler: fix payto uri tests/taler: withdraw smaller amount This makes the test faster tests/taler: verify balance tests/nixos: debugging merchant payment, cleanup tests/taler: fix libeufin command, use curl to register accounts tests/taler: add basic online test tests/taler: move nodes into separate directory tests/taler: fix insufficient balance error Turns out that the exchange wire fees need to be set up (even if they're 0) in order for the CLI wallet to deposit coins into the merchant's bank account. tests/taler: improve node importing, port forwarding tests/taler: import scripts from a separate file tests/taler: move tests into a sub-directory tests/taler: manually start services, cleanup This results in less overhead and conflict since components will not try to prematurely connect to the ones that haven't finished their set up. tests/taler: remove online test This was used to debug the insufficient balance problem, but it's not really that useful by itself. tests/taler: add nexus keys tests/taler: use bank initalAccounts option taler/tests: use initialAccount tests/taler: make nexus work tests/taler: don't run nexus test if there is no internet tests/taler: use openFirewall, remove manual package install fix(test): evaluation errors fix(test): create nexus role by enabling createLocalDatabase
- Loading branch information
1 parent
6f35a68
commit f70b3a2
Showing
11 changed files
with
709 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
{ lib, ... }: | ||
let | ||
# Forward SSH and WebUI ports to host machine | ||
# | ||
# Connect with: ssh root@localhost -p <hostPort> | ||
# Access WebUI from: http://localhost:<hostPort> | ||
# | ||
# NOTE: This is only accessible from an interactive test, for example: | ||
# $ eval $(nix-build -A nixosTests.taler.basic.driver)/bin/nixos-test-driver | ||
mkNode = | ||
{ | ||
sshPort ? 0, | ||
webuiPort ? 0, | ||
nodeSettings ? { }, | ||
}: | ||
lib.recursiveUpdate { | ||
services.openssh = { | ||
enable = true; | ||
settings = { | ||
PermitRootLogin = "yes"; | ||
PermitEmptyPasswords = "yes"; | ||
}; | ||
}; | ||
security.pam.services.sshd.allowNullPassword = true; | ||
virtualisation.forwardPorts = | ||
(lib.optionals (sshPort != 0) [ | ||
{ | ||
from = "host"; | ||
host.port = sshPort; | ||
guest.port = 22; | ||
} | ||
]) | ||
++ (lib.optionals (webuiPort != 0) [ | ||
{ | ||
from = "host"; | ||
host.port = webuiPort; | ||
guest.port = webuiPort; | ||
} | ||
]); | ||
} nodeSettings; | ||
in | ||
rec { | ||
CURRENCY = "KUDOS"; | ||
FIAT_CURRENCY = "CHF"; | ||
|
||
nodes = { | ||
exchange = | ||
{ config, lib, ... }: | ||
mkNode { | ||
sshPort = 1111; | ||
webuiPort = 8081; | ||
|
||
nodeSettings = { | ||
services.taler = { | ||
settings = { | ||
taler.CURRENCY = CURRENCY; | ||
}; | ||
includes = [ ../conf/taler-accounts.conf ]; | ||
exchange = { | ||
enable = true; | ||
debug = true; | ||
openFirewall = true; | ||
denominationConfig = lib.readFile ../conf/taler-denominations.conf; | ||
settings = { | ||
exchange = { | ||
MASTER_PUBLIC_KEY = "2TQSTPFZBC2MC4E52NHPA050YXYG02VC3AB50QESM6JX1QJEYVQ0"; | ||
BASE_URL = "http://exchange:8081/"; | ||
}; | ||
exchange-offline = { | ||
MASTER_PRIV_FILE = "${../conf/private.key}"; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
bank = | ||
{ config, ... }: | ||
mkNode { | ||
sshPort = 2222; | ||
webuiPort = 8082; | ||
|
||
nodeSettings = { | ||
services.libeufin.bank = { | ||
enable = true; | ||
debug = true; | ||
|
||
openFirewall = true; | ||
createLocalDatabase = true; | ||
|
||
initialAccounts = [ | ||
{ | ||
username = "exchange"; | ||
password = "exchange"; | ||
name = "Exchange"; | ||
} | ||
]; | ||
|
||
settings = { | ||
libeufin-bank = { | ||
WIRE_TYPE = "x-taler-bank"; | ||
# WIRE_TYPE = "iban"; | ||
X_TALER_BANK_PAYTO_HOSTNAME = "bank:8082"; | ||
# IBAN_PAYTO_BIC = "SANDBOXX"; | ||
BASE_URL = "bank:8082"; | ||
|
||
# Allow creating new accounts | ||
ALLOW_REGISTRATION = "yes"; | ||
|
||
# A registration bonus makes withdrawals easier since the | ||
# bank account balance is not empty | ||
REGISTRATION_BONUS_ENABLED = "yes"; | ||
REGISTRATION_BONUS = "${CURRENCY}:100"; | ||
|
||
DEFAULT_DEBT_LIMIT = "${CURRENCY}:500"; | ||
|
||
# NOTE: The exchange's bank account must be initialised before | ||
# the main bank service starts, else it doesn't work. | ||
# The `services.libeufin.bank.initialAccounts` option can be used to do this. | ||
ALLOW_CONVERSION = "yes"; | ||
ALLOW_EDIT_CASHOUT_PAYTO_URI = "yes"; | ||
|
||
SUGGESTED_WITHDRAWAL_EXCHANGE = "http://exchange:8081/"; | ||
|
||
inherit CURRENCY FIAT_CURRENCY; | ||
}; | ||
}; | ||
}; | ||
|
||
services.libeufin.nexus = { | ||
enable = true; | ||
debug = true; | ||
|
||
openFirewall = true; | ||
createLocalDatabase = true; | ||
|
||
settings = { | ||
# https://docs.taler.net/libeufin/setup-ebics-at-postfinance.html | ||
nexus-ebics = { | ||
# == Mandatory == | ||
CURRENCY = FIAT_CURRENCY; | ||
# Bank | ||
HOST_BASE_URL = "https://isotest.postfinance.ch/ebicsweb/ebicsweb"; | ||
BANK_DIALECT = "postfinance"; | ||
# EBICS IDs | ||
HOST_ID = "PFEBICS"; | ||
USER_ID = "PFC00639"; | ||
PARTNER_ID = "PFC00639"; | ||
# Account information | ||
IBAN = "CH4740123RW4167362694"; | ||
BIC = "BIC"; | ||
NAME = "nixosTest nixosTest"; | ||
|
||
# == Optional == | ||
CLIENT_PRIVATE_KEYS_FILE = "${../conf/client-ebics-keys.json}"; | ||
BANK_PUBLIC_KEYS_FILE = "${../conf/bank-ebics-keys.json}"; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
merchant = | ||
{ config, ... }: | ||
mkNode { | ||
sshPort = 3333; | ||
webuiPort = 8083; | ||
|
||
nodeSettings = { | ||
services.taler = { | ||
settings = { | ||
taler.CURRENCY = CURRENCY; | ||
}; | ||
merchant = { | ||
enable = true; | ||
debug = true; | ||
openFirewall = true; | ||
settings.merchant-exchange-test = { | ||
EXCHANGE_BASE_URL = "http://exchange:8081/"; | ||
MASTER_KEY = "2TQSTPFZBC2MC4E52NHPA050YXYG02VC3AB50QESM6JX1QJEYVQ0"; | ||
inherit CURRENCY; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
client = | ||
{ pkgs, ... }: | ||
mkNode { | ||
sshPort = 4444; | ||
|
||
nodeSettings = { | ||
environment.systemPackages = [ pkgs.taler-wallet-core ]; | ||
}; | ||
}; | ||
}; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
{ | ||
lib, | ||
pkgs, | ||
nodes, | ||
... | ||
}: | ||
|
||
let | ||
cfgNodes = pkgs.callPackage ./nodes.nix { inherit lib; }; | ||
bankConfig = nodes.bank.config.environment.etc."libeufin/libeufin.conf".source; | ||
|
||
inherit (cfgNodes) CURRENCY FIAT_CURRENCY; | ||
in | ||
{ | ||
commonScripts = | ||
# python | ||
'' | ||
def succeed(machine, commands): | ||
"""A more convenient `machine.succeed` that supports multi-line inputs""" | ||
flattened_commands = [c.replace("\n", "") for c in commands] # flatten multi-line | ||
return machine.succeed(" ".join(flattened_commands)) | ||
def systemd_run(machine, cmd, user="nobody", group="nobody"): | ||
"""Execute command as a systemd DynamicUser""" | ||
machine.log(f"Executing command (via systemd-run): \"{cmd}\"") | ||
(status, out) = machine.execute( " ".join([ | ||
"systemd-run", | ||
"--service-type=exec", | ||
"--quiet", | ||
"--wait", | ||
"-E PATH=\"$PATH\"", | ||
"-p StandardOutput=journal", | ||
"-p StandardError=journal", | ||
"-p DynamicUser=yes", | ||
f"-p Group={group}" if group != "nobody" else "", | ||
f"-p User={user}" if user != "nobody" else "", | ||
f"$SHELL -c '{cmd}'" | ||
]) ) | ||
if status != 0: | ||
raise Exception(f"systemd_run failed (status {status})") | ||
machine.log("systemd-run finished successfully") | ||
def register_bank_account(username, password, name, is_exchange=False): | ||
"""Register Libeufin bank account for the x-taler-bank wire method""" | ||
return systemd_run(bank, " ".join([ | ||
'libeufin-bank', | ||
'create-account', | ||
'-c ${bankConfig}', | ||
f'--username {username}', | ||
f'--password {password}', | ||
f'--name {name}', | ||
f'--payto_uri="payto://x-taler-bank/bank:8082/{username}?receiver-name={name}"', | ||
'--exchange' if (is_exchange or username.lower()=="exchange") else ' ' | ||
]), | ||
user="libeufin-bank") | ||
def wallet_cli(command): | ||
"""Wrapper for the Taler CLI wallet""" | ||
return client.succeed( | ||
"taler-wallet-cli " | ||
"--no-throttle " # don't do any request throttling | ||
+ command | ||
) | ||
def verify_balance(balanceWanted: str): | ||
"""Compare Taler CLI wallet balance with expected amount""" | ||
balance = wallet_cli("balance --json") | ||
try: | ||
balanceGot = json.loads(balance)["balances"][0]["available"] | ||
except: | ||
balanceGot = "${CURRENCY}:0" | ||
# Compare balance with expected value | ||
if balanceGot != balanceWanted: | ||
client.fail(f'echo Wanted balance: "{balanceWanted}", got: "{balanceGot}"') | ||
else: | ||
client.succeed(f"echo Withdraw successfully made. New balance: {balanceWanted}") | ||
def verify_conversion(regionalWanted: str): | ||
"""Compare converted Libeufin Nexus funds with expected regional currency""" | ||
# Get transaction details | ||
response = json.loads( | ||
succeed(bank, [ | ||
"curl -sSfL", | ||
# TODO: get exchange from config? | ||
"-u exchange:exchange", | ||
"http://bank:8082/accounts/exchange/transactions" | ||
]) | ||
) | ||
amount = response["transactions"][0]["amount"].split(":") # CURRENCY:VALUE | ||
currencyGot, regionalGot = amount | ||
# Check conversion (1:1 ratio) | ||
if (regionalGot != regionalWanted) or (currencyGot != "${CURRENCY}"): | ||
client.fail(f'echo Wanted "${CURRENCY}:{regionalWanted}", got: "{currencyGot}:{regionalGot}"') | ||
else: | ||
client.succeed(f'echo Conversion successfully made: "${FIAT_CURRENCY}:{regionalWanted}" -> "{currencyGot}:{regionalGot}"') | ||
''; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"bank_encryption_public_key":"621028HG1M30JAM6923FE381040GA003G80GY01GG80GM0M2040G1EACATA11EF5SVKNBNBYF1S3WSKQ2A2R9VZ7RW2HRX00293JPZ7VQ780RFRVYTQKKDDNJAQGBH4659GT9QYBMJCG1RKZEH1WDJ0GAAY7B7NBMW6FWXCKFYRMZQME0WBGZ1AAMY2VBQ5XAFV8216EFNF2EPG6M5ZGHG9RG6EGED56TK9JESQ02Q7AAVBRAAARVBN9NHCN64KQ3SRRHYXB8RWRK4TSSC93XG8RWMQH4ZDJSBYDCEXFY6G3AWTZ0EZNCJJAYB98T4GNFWZMN81AVYCQHXT1APX81AXCAYNK7J9XETF5CN1J1WV0BVA2BYG4VAMAW123REPN67JF1TNWPTADBMHS17N2V1GFYT8JRWX4TGM2996NXTEPMA8C2CDDE0CRY2A6HT8C5H2D6C62YGRSCF820C0G008","bank_authentication_public_key":"621028HG1M30JAM6923FE381040GA003G80GY01GG80GM0M2040G1EACATA11EF5SVKNBNBYF1S3WSKQ2A2R9VZ7RW2HRX00293JPZ7VQ780RFRVYTQKKDDNJAQGBH4659GT9QYBMJCG1RKZEH1WDJ0GAAY7B7NBMW6FWXCKFYRMZQME0WBGZ1AAMY2VBQ5XAFV8216EFNF2EPG6M5ZGHG9RG6EGED56TK9JESQ02Q7AAVBRAAARVBN9NHCN64KQ3SRRHYXB8RWRK4TSSC93XG8RWMQH4ZDJSBYDCEXFY6G3AWTZ0EZNCJJAYB98T4GNFWZMN81AVYCQHXT1APX81AXCAYNK7J9XETF5CN1J1WV0BVA2BYG4VAMAW123REPN67JF1TNWPTADBMHS17N2V1GFYT8JRWX4TGM2996NXTEPMA8C2CDDE0CRY2A6HT8C5H2D6C62YGRSCF820C0G008","accepted":true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"signature_private_key":"62109F020403038614N8CJ46YW6G20810M0090G4MRR84152080G00M2040G1G344ZCHJWVZJVC7X42WJ6H99ZM4MND4QA766HQXG24QCE3FMAZWVSDWJYRPNM0PVWB1AH39685XN11P7EEHDHW89W0XNDYB4EMYTMA771DVMQWV57NZA9C5QGAK2N7FGKE73020ENJF74N49DEQCXW78FQQNZSDPAC07Y0GNJCR53Q59Z97T14E29NRKFMFYF2CQK45TPAK8M80H8K275TG5FMW16YVTSK3YJBSJN0G7MT187QCNS6P25SJD9Q30K578H3YY30F6R852ZG904BW07PAZT29HTV5F3ZE5K86F4MAQ9H2H7C3AYG8P6SZEK60E0QWWX79M0SP2BAC0QT8310X0TDZ16298SBSD5SDFGQT6FG44BEQNES1KVW1JZYD8GSB6T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YTKAK1QECQK1S4T2HV04Y2YJDCYK5AYVJQYXFYQPFP1CYSE3Q458BBN8RXW5QMJEPCTGK2N3H7K5T2ZJMWNJY27J53B08703K93X0JSM643V7Z95CBJNKVZR4QXRKHFPG5W79AKZ3WP9CXY43XXSHG0KN424","authentication_private_key":"62109F820403038614N8CJ46YW6G20810M0090G4MWR84153080G00M2040G1CZR41XW4ANY74SDV2B2ZEFWPR0E9RXRWFAVAXJHZBMSYXHE5F32X4PKDTVBNHVNYAQYXDXMFV9WCYZA16PKDCEWZ87FKKDH8EJP7NQZB5GK83HJ6KX3P04BD878D99QZ44EE6SYK3YJZMBEP9H1755FKR25RBH5VEYRZ9X2T2DTBV34SREH7F7A81KCC4ZWBRWP1EH179T4RH17R278A9834G2FNPAKST9HK7P878W85DW9XG9BJQ40YCDTP6DGACTKZBJ992M6BDJN69HQZ9GDHF73M2CV7C96YYH8YKMD3V3YXNR17PP0BMKAB30T7KGTDMM92XH6Z0CKA6VQSRFFA59H77GESQYT05SY4N2AGRM9468G1XYJ7M2PM3EXZAYM1GJ934PRGG965Z8KRVZEFF820C0G0082G80G05FQQ0106J3KPWETPQ35EPRCTP0K8VTBJTDZ7P6PG6CXM968G5AP2GN6640WVE6D5AB2J4RYSNTVF4X6JJWWSYDCB7JTDFK1W27T7ZMEQB2MA2K57J0S5QPN4PQAF4C19J962JV51YSFNECVDT328F8H05MJF05H76N61QX5VQ2REQ879M02B7QRQ9NH284XCWWTA5T8HSJ6BG70SCF7S0YJX8F3DQDB763X3D4RY8Y7HVPVBCR9JKJC521R2BHR12WYZ329KN38MVJ69NHJMH2BFT76TRQXY8N6ECEGVC9GWC1KCVSGKQE4XSP6ZYFFVFBNTEVR3653PMF9S9XYSJYBPKQBTF2Q4SY2D56B0Z5MN0A0R7YY1PGZN69A9RPT8H18QVQPJR1YTM1BBNTQHS6KC382G60G1R1Q8A547XJHMF7Z9BR8PC9YPKAMCRKMFNFD71MS5P8CY3TC81MYWRBVNBC7DJA7DCFXHTW3BMC0RCZ39SYY2PS29FQJQR7ZDT8H260P4X8Q8D5JYYAJFDBSY82BQY4K71V5PGYH6PS0Q79CRWWQJQ68JHESE2C829CMNXDWTCW21G9SZC6JJ32P6HSGQ1T5K8VD9B6GFPZ6XC183080SNXJNZ2MFM6GRPHEN3SHTNE9M63KWHG4EQBEPYYG7E5DH5Q4NYP19ZGJ192XV7GJFRSH14XB3DXR4GEZACKMMEMSFTFJ16NQXMYYXTRF4KY9NPYPSD3E65RMF9CDGWAGMT46RTWZE2PRSSRFS15Z0CQ0HCN5K9EG16GGE77E27DNN43XFD2G3YKYXAMDPF7CGT3K8V3T328ZE0M1G1SM8XBMTY9SWK7MXZWVR8SM5SBWDXZDC72DSYWFDBNJ5Y0D3NMVKVPRDGJ23SQM7H0JSXAY8SPBM8D5NNAKD6SRRRHN8VYSHMX2S21FB0594DRA8G8VY4D1XRR90G4VNHF06BSHWVPRCPC1R68ZPW0BGBBE3ZHWN344AD0HM7GCA3N8B0276YZHQRJ2YAZ4RKG7Q8V4VJ8Q9682G60G1F9CJZV9E4J9W42PBKY5GD66FHBYDPKAH54MQ5BX7VFXES4ZAR46BM6MRBM90FQQ7DRVXGVGER6NWJK2195XJXMKQHW7B36HGT12HK1QQFF1J7RB6QWJEEFXR2M7M4YK3CS00RRMYA5XKVNNPV2VZNBXKGJ5SCHGSN6GKDNXE0HSM2VMBKS794DGB7D4PYSEYKSB9BM57G1B4418303W3D38F61CC4RC8DNDZNH9S7N0E4AM97QVRPMY7FERHN0JM4VHD5ET49RYJVW9Y9GBREB801N4A70Z9EGCBM2WJZYSF9KXX8EVDFX37KDJ2G4MTJNR628QV206M1QJ4P4EKS04D9GB8TTQNHJCXJ1PX9PJ44WYGAPKQQP5ENN1VCJAHVXTD5BXHJZYASWZ8QZJY7V760W36ER0","submitted_ini":true,"submitted_hia":true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"operation": "exchange-enable-wire-0", | ||
"arguments": { | ||
"payto_uri": "payto://x-taler-bank/bank:8082/exchange?receiver-name=Exchange", | ||
"debit_restrictions": [], | ||
"credit_restrictions": [], | ||
"priority": 0, | ||
"validity_start": { | ||
"t_s": 1725886541 | ||
}, | ||
"master_sig_add": "68WDT3JX1S5GQ9D3RZWXQVZK9AHFZ46YY5DA993720YA3SCBR4SW3X09NH5DECTXGWBKSN0MGKE1ANA9QZ95SKSNYPS9T9G46PCJC20", | ||
"master_sig_wire": "39CEN9007DEXXMSDFZX1R2YYNANZYAFHX4EZC4ZX3C8DQEYT83JNVCVYMWYDGWEX6S891ZPXD6QHJE9J41YV9EN703Q0NM0MVE4FP18" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
��'IՂ�v&�������H{VW�r��Cj�>� |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[exchange-account-test] | ||
PAYTO_URI = payto://x-taler-bank/bank:8082/exchange?receiver-name=Exchange | ||
ENABLE_DEBIT = YES | ||
ENABLE_CREDIT = YES | ||
|
||
[exchange-accountcredentials-test] | ||
WIRE_GATEWAY_URL = http://bank:8082/accounts/exchange/taler-wire-gateway/ | ||
WIRE_GATEWAY_AUTH_METHOD = BASIC | ||
USERNAME = exchange | ||
PASSWORD = exchange |
Oops, something went wrong.