Commit graph

2,964 commits

Author SHA1 Message Date
852cdeda0b
tx.unsigned: refuse to sign legacy (non-JSON) TX files
Prevent signing of transactions from legacy TX files, which represent a
potential vector for deserialization attacks.

Since a normal up-to-date MMGen Wallet installation cannot create legacy TX
files, it indicates the online installation is compromised or broken, so exit
the signing loop as well and output a critical error message.
2026-08-29 15:04:29 +00:00
dab9d6bda9
tx.unsigned: new sign() method 2026-08-29 15:04:29 +00:00
b5c4b134c9
txcreate, txsign: enforce cfg.autosign if cfg.coin == 'XMR' 2026-08-29 15:04:29 +00:00
bbfa72c02e
cfg: add opts_data['requires'] 2026-08-29 15:04:29 +00:00
a904cb7853
cfg: opts_data['sets']: improve output, add tests 2026-08-29 15:04:24 +00:00
dd9c26ea23
Version 16.2.0 stable_msys2 stable_macos stable_linux v16.2.0 2026-08-23 09:14:00 +00:00
37d86489be
minor fixes and cleanups 2026-08-23 09:14:00 +00:00
414d2ce021
update documentation 2026-08-23 09:14:00 +00:00
58e4bfc8b2
update coin daemon support
DAEMON             VERSION
Bitcoin Core       31.1
Bitcoin Cash Node  29.1
Litecoin Core      0.21.5.6
Geth               1.17.5
Reth               2.5.1
2026-08-22 18:34:47 +00:00
a3f9676677
cmdtest.py regtest: enable deterministic testing with descriptor wallet 2026-08-22 18:34:47 +00:00
ba0bdb381c
regtest, cmdtest.py regtest: minor cleanups 2026-08-22 18:34:47 +00:00
c85dd68312
BipHDNode.from_path(): support initialization from xprv instead of seed 2026-08-22 18:34:47 +00:00
b8e47fd284
ignore cfg file for non-test-suite regtest 2026-08-22 18:34:47 +00:00
4cb1353fcb
add dev-requirements.txt 2026-08-22 18:34:47 +00:00
d5f6398da4
test suite: add workaround for Debian Trixie Python interpreter bug
The Debian Trixie Python interpreter (v3.13.5) crashes on exit after executing
scripts that write signed transactions (`mmgen-txsign` and `mmgen-txsend`) for
certain tests in the test suite.

This bug is unlikely to be observed under normal usage and in any case won’t
prevent users from signing and sending transactions.

Nonetheless, users running Debian Trixie may wish to compile Python from source
just to be safe and use the locally compiled Python to run MMGen Wallet.

For instructions on how to do this, see the ‘Build Python from Source’ wiki page.
2026-08-22 18:34:46 +00:00
7f0246e15e
doc: add Build Python from Source wiki page 2026-08-22 18:34:46 +00:00
bcd8255107
test suite: minor fixes and cleanups 2026-08-22 18:34:46 +00:00
458afa328b
cfg.py: process cmdline opts before cfgfile 2026-08-22 18:34:46 +00:00
771b6ba071
cmdtest.py main: method name cleanups 2026-08-22 18:34:46 +00:00
e1f236d241
MSWin: remove set_vt100() function 2026-08-22 18:34:41 +00:00
05b297efca
secp256k1 extmod: compile with -Wextra and static analyzer enabled 2026-08-18 14:21:25 +00:00
6f5484d82c
secp256k1 extmod: raise ValueError or RuntimeError as appropriate 2026-08-18 14:21:25 +00:00
748f9131f9
secp256k1 extmod: whitespace 2026-08-18 14:21:25 +00:00
93938d4f77
secp256k1 extmod: always raise exception on context init failure (bugfix) 2026-08-18 14:21:25 +00:00
8277c0d9a7
secp256k1 extmod: wrap unused params (gcc -Wextra) 2026-08-18 14:21:25 +00:00
62c342a3bf
secp256k1 extmod: initialize all struct members of sentinel (gcc -Wextra) 2026-08-18 14:21:20 +00:00
b4b0a6855e
update documentation 2026-08-18 09:18:09 +00:00
76fd9ece6c
cfgfile: minor fix 2026-08-18 09:18:03 +00:00
b4044c9ac1
update Github workflows 2026-08-17 09:05:14 +00:00
158c591913
bandit fixes and cleanups 2026-08-17 09:05:13 +00:00
979f034448
cfgfile: cleanups 2026-08-17 09:05:13 +00:00
e053553221
proto.btc.tx.info: cleanups 2026-08-17 09:05:13 +00:00
83f585fa48
test suite: minor fixes and cleanups 2026-08-17 09:05:07 +00:00
bf8aae3c14
update badge 2026-08-15 14:42:22 +00:00
bb4aaf8ae5
update Github workflows 2026-08-15 14:17:53 +00:00
a0f4dfef56
add test-requirements.txt 2026-08-15 14:13:09 +00:00
66fc415acb
add support for Bandit security analyzer 2026-08-15 14:13:09 +00:00
510537c8a9
ruff fixes 2026-08-15 14:13:09 +00:00
79c538d676
pylint fixes 2026-08-15 14:13:09 +00:00
a5ae77d568
crypto: improve AES backend logic 2026-08-15 14:13:09 +00:00
7d89ab199e
make ecdsa and pexpect packages testing-only 2026-08-15 14:13:08 +00:00
75d26b134f
secp256k1 extmod: new pubkey_decompress() function 2026-08-15 14:13:08 +00:00
40b2e871aa
test suite: minor fixes and cleanups 2026-08-15 14:13:08 +00:00
fcfd113592
remove main_split.py 2026-08-15 14:13:03 +00:00
da2c79082d
wallet.dieroll: minor UI cleanup 2026-08-10 09:54:40 +00:00
4f05c6b9f7
devtools: print_stack_trace(): fix 2026-08-10 09:54:40 +00:00
5c58ba248e
ruff B018 (useless expression) 2026-08-10 09:54:40 +00:00
288d63bddb
ruff B026 (star-arg unpacking after keyword argument) 2026-08-10 09:54:40 +00:00
dfa3ef1e9e
pyproject.toml: ruff cleanups 2026-08-10 09:54:40 +00:00
9c10ee7a03
ruff F401 (imported but unused) 2026-08-10 09:54:39 +00:00