brave-browser#60837 Weak unit tests in json_keystore_parser_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41255
tests QA/No release-notes/exclude feature/web3/wallet OS/Android OS/Desktop OS/iOS tests/test-quality tests/missing-coverage
Unit tests in components/brave_wallet/browser/json_keystore_parser_unittest.cc would keep passing if the behavior they cover broke. JsonKeystoreParser.DecryptPrivateKeyFromJsonKeystore (low severity) L31 - Why it's weak: JsonKeystoreParser tests only use well-formed v3 aes-128-ctr keystores. The unsupported-cipher rejection (not covered by the MAC) and the missing-field guards are never exercised, so deleting them leaves every test green. - Change that would still pass:…
Timeline (7 of 11 events)
- 2026-11-03 23:49 Label added
QA/Noby netzenbot - 2026-11-03 23:49 Label added
release-notes/excludeby netzenbot - 2026-11-04 20:59 Referenced by brave-core#41255 by netzenbot
- 2026-11-05 13:26 Closed
completedbrave-core#41255 by bbondy - 2026-11-23 16:38 Label added
OS/Androidby netzenbot - 2026-11-23 16:38 Label added
OS/Desktopby netzenbot - 2026-11-23 16:38 Label added
OS/iOSby netzenbot