Commit graph

3,143 commits

Author SHA1 Message Date
7a18231ef1
transaction fee checking for XMR
During transaction creation, check that the fee doesn’t exceed `xmr_max_tx_fee`
2026-11-29 17:04:40 +00:00
92d11b011b
tx.file: new check_data_size() function 2026-11-29 17:04:40 +00:00
6cf721632c
proto.btc.tx.unsigned: clean up proto_sign() 2026-11-29 17:04:40 +00:00
d6a02ded2f
test.overlay.fakemods: mmgen.rpc -> mmgen.rpc.__init__ 2026-11-29 17:04:40 +00:00
f8109a9412
Unsigned.sign(): have caller handle exceptions 2026-11-29 17:04:40 +00:00
05f6e1cdf2
proto.eth.tx.new: remove fee check disabling for contract transactions
If necessary, the limit can be raised on an individual transaction basis
with --eth-max-tx-fee.
2026-11-29 17:04:40 +00:00
43389dd0d9
proto: adjust max_tx_fee values for all supported coins
Set these low enough to avoid significant loss but high enough so they’ll be
exceeded only in rare situations (i.e. abnormally large network fees and/or
transaction sizes).
2026-11-29 17:04:40 +00:00
9cefb4ce40
tx.util: new check_fee(), fee_too_high_msg() functions 2026-11-29 17:04:40 +00:00
4709b015b5
tx: move check_fee() to base class 2026-11-29 17:04:40 +00:00
39f82f771b
whitespace, comments, minor fixes 2026-11-29 17:04:40 +00:00
1f8641508f
autosign: operator precedence fix 2026-11-29 17:04:34 +00:00
ab545e189f
tx.file: require have_wif field to be absent
Fixes a vulnerability whereby an attacker with access to the online machine
could bypass the address-belongs-to-wallet test performed by the offline signer
by crafting a transaction file with the “have_wif” field set for a transaction
output.
2026-11-22 09:28:49 +00:00
1be9184b56
check_swap_memo(): require is_swap to be set if memo present in transaction
Fixes a vulnerability whereby an attacker with access to the online machine
could bypass the address-belongs-to-wallet test performed by the offline signer
by crafting a transaction file containing a swap memo but with the “is_swap”
field unset or set to false.
2026-11-22 09:28:48 +00:00
9eb45c3c20
add v17.0.1 release notes 2026-11-22 09:28:48 +00:00
b625d9ba55
TxKeys: set num_mkeys correctly; check_swap_memo(): cleanup 2026-11-22 09:28:48 +00:00
6b25d2992e
THORChainReferenceMemo: check prefix when parsing 2026-11-22 09:28:48 +00:00
0ea5f49218
proto.rune.params: add refreq cap 2026-11-22 09:28:48 +00:00
168f5a7407
XMR swaps, memoless swaps: check that memo address belongs to wallet 2026-11-18 09:25:21 +00:00
0a536e7f27
TxKeys: cleanup gen_keys(), count output keys generated 2026-11-18 09:25:21 +00:00
2aa024f033
proto.bch.cashaddr: assignment expression fix 2026-11-18 09:25:21 +00:00
1a0f273d84
proto.xmr.tw.view: handle RPC exception on refresh 2026-11-18 09:25:21 +00:00
b2dae7fa6f
THORChainReferenceMemo: support initialization from string 2026-11-18 09:25:20 +00:00
1384980ee4
xmrwallet.rpc: new refresh_wallet() method 2026-11-18 09:25:20 +00:00
73802d2574
variable renames, minor cleanups 2026-11-18 09:25:15 +00:00
91d94a383a
XMR compat: skip unnecessary wallet open with tracking wallet refresh 2026-11-16 10:45:27 +00:00
aed7d6251c
MoneroWalletDaemon: parse monerod_addr for local port 2026-11-16 10:45:27 +00:00
9da969ea3b
MoneroWalletDaemon: new test_monerod_port() method 2026-11-16 10:45:27 +00:00
ded33e7efe
whitespace, minor fixes and cleanups 2026-11-16 10:45:27 +00:00
a244674b87
OpWallet: open wallet in main() where feasible 2026-11-16 10:45:27 +00:00
37db58491c
OpWallet: pass RPC instance to process_wallet() 2026-11-16 10:45:27 +00:00
16cb6005e0
cmdtest xmrwallet: cleanups 2026-11-16 10:45:22 +00:00
dea1de85f5
XMR: display block count and timestamp in tracking wallet views 2026-11-15 10:56:44 +00:00
e17eada7b8
xmrwallet.ops.OpBase: new get_coin_daemon_rpc() method 2026-11-15 10:56:44 +00:00
052ff38780
amt: pass coin unit to hl3() 2026-11-15 10:56:44 +00:00
b4fd9e60ca
whitespace, minor cleanups 2026-11-15 10:56:44 +00:00
78859e759d
xmrwallet.ops.wallet: clean up need_daemon_start 2026-11-15 10:56:44 +00:00
c3e7bf53c3
XMR tracking wallet views: improve data refresh logic 2026-11-15 10:56:44 +00:00
a93de25fca
autosign: support terse summary for XMR 2026-11-15 10:56:44 +00:00
b8cc07c7ab
cmdtest.py: new xmr_autosign_dev test 2026-11-15 10:56:39 +00:00
72589eb5bf
Version 17.0.0 v17.0.0 2026-11-09 09:42:03 +00:00
2fe498b1a0
XMR transaction data integrity checking
Perform a series of pre-signing checks to ensure that the change address in the
transaction belongs to the user’s wallet, that the amount shown is going to the
destination shown, and others, preventing an attacker from stealing funds in the
event the user’s online installation is compromised.

These checks were always performed by the wallet for non-privacy coins but were
regrettably overlooked for Monero. Thus this patch represents an urgent security
fix for Monero users.

It bears mentioning that no system, however secure, can do everything for the
user.  For example, when sending funds to an outside address, the offline
installation has no way of knowing whether the destination and amount are what
the user intended.  A good rule of thumb is to always check the offline signing
summary to ensure that the transaction type is correct and, for transfers, that
the address and amount are correct.
2026-11-09 09:33:34 +00:00
4497478bb1
update documentation 2026-11-09 09:33:34 +00:00
04e8296533
update helpscreen footers 2026-11-09 09:33:34 +00:00
6238e833a1
mmgen-txcreate: XMR compat: exit cleanly if no op specified 2026-11-09 09:33:34 +00:00
a010fa3397
xmrwallet.ops: sign, import: open wallet only if necessary 2026-11-09 09:33:33 +00:00
49bb7e9c9a
amt: fix handling of ‘atomic’ 2026-11-09 09:33:33 +00:00
21f762d668
color: clean up get_terminfo_colors() 2026-11-09 09:33:33 +00:00
88eff0278d
amt: ensure we initialize with Decimal type 2026-11-09 09:33:33 +00:00
e9a5bd4b65
amt: pass kwargs to initializer and dunder methods 2026-11-09 09:33:33 +00:00
7e90f3dd84
nix: add monero.nix 2026-11-09 09:33:33 +00:00