mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-05 15:33:08 +00:00
* feat(utils): add keyfile + test * feat(keyfile): make id and version field optional * feat(rln): enable input password for keyfile encryption * refactor(keyfile): store multiple keyfiles in single file * refactor(rln): write and read rln credentials proc using keyfiles + test update * feat(keyfile): allow skip successful decryption to iterate among multiple keyfiles + test * fix(rln): add rln-relay-cred-password in wakunode2 config * chore(keyfile): remove unnencessary echo * refactor(rln/kesyore): address reviewers' comments * refactor(rln/keyfile): use defer instead of try/finally * feat(rln): address reviewers comments; return all successful decryptions * chore(keyfile): add comments; changed name to loadKeyfiles * feat(keyfile): chmod 600 for keyfiles * fix(rln): fix errors raised by readRlnCredentials * feat(keyfile): add nim-eth tests; address reviewers comments * fix(keyfile/rln): better error handling * refactor(keyfile): refactoring nim-eth tests * fix(keyfile): fix wrong index * fix(keyfile): fix wrong password generation in test * feat(keyfile): add wrong mac test Co-authored-by: Aaryamann Challani <43716372+rymnc@users.noreply.github.com>
63 lines
1.9 KiB
Nim
63 lines
1.9 KiB
Nim
import
|
|
# Waku v2 tests
|
|
# TODO: enable this when it is altered into a proper waku relay test
|
|
# ./v2/test_waku,
|
|
./v2/test_wakunode,
|
|
./v2/test_wakunode_relay,
|
|
# Waku Store
|
|
./v2/test_message_store_queue_index,
|
|
./v2/test_message_store_queue_pagination,
|
|
./v2/test_message_store_queue,
|
|
./v2/test_message_store_sqlite_query,
|
|
./v2/test_message_store_sqlite,
|
|
./v2/test_waku_store_rpc_codec,
|
|
./v2/test_waku_store,
|
|
./v2/test_waku_store_client,
|
|
# TODO: Re-enable store resume test cases (#1282)
|
|
# ./v2/test_waku_store_resume,
|
|
./v2/test_wakunode_store,
|
|
# Waku LightPush
|
|
./v2/test_waku_lightpush,
|
|
./v2/test_wakunode_lightpush,
|
|
# Waku Filter
|
|
./v2/test_waku_filter,
|
|
./v2/test_wakunode_filter,
|
|
./v2/test_waku_peer_exchange,
|
|
./v2/test_waku_payload,
|
|
./v2/test_waku_swap,
|
|
./v2/test_utils_peers,
|
|
./v2/test_message_cache,
|
|
./v2/test_jsonrpc_waku,
|
|
./v2/test_rest_serdes,
|
|
./v2/test_rest_debug_api_serdes,
|
|
./v2/test_rest_debug_api,
|
|
./v2/test_rest_relay_api_serdes,
|
|
./v2/test_rest_relay_api,
|
|
./v2/test_peer_manager,
|
|
./v2/test_web3, # TODO remove it when rln-relay tests get finalized
|
|
./v2/test_waku_bridge,
|
|
./v2/test_peer_storage,
|
|
./v2/test_waku_keepalive,
|
|
./v2/test_migration_utils,
|
|
./v2/test_namespacing_utils,
|
|
./v2/test_waku_dnsdisc,
|
|
./v2/test_waku_discv5,
|
|
./v2/test_enr_utils,
|
|
./v2/test_peer_exchange,
|
|
./v2/test_waku_noise,
|
|
./v2/test_waku_noise_sessions,
|
|
# Utils
|
|
./v2/test_utils_keyfile
|
|
|
|
when defined(rln) or defined(rlnzerokit):
|
|
import
|
|
./v2/test_waku_rln_relay,
|
|
./v2/test_wakunode_rln_relay
|
|
when defined(onchain_rln):
|
|
import ./v2/test_waku_rln_relay_onchain
|
|
|
|
|
|
# TODO Only enable this once swap module is integrated more nicely as a dependency, i.e. as submodule with CI etc
|
|
# For PoC execute it manually and run separate module here: https://github.com/vacp2p/swap-contracts-module
|
|
# ./v2/test_waku_swap_contracts
|