Skip to content

Add wallet-rpc Digest authentication and fix wallet-only mode restart#59

Merged
R0BC0D3R merged 6 commits into
mainfrom
fix/ltc-and-security
Jun 8, 2026
Merged

Add wallet-rpc Digest authentication and fix wallet-only mode restart#59
R0BC0D3R merged 6 commits into
mainfrom
fix/ltc-and-security

Conversation

@R0BC0D3R

@R0BC0D3R R0BC0D3R commented Jun 8, 2026

Copy link
Copy Markdown
Member

Changes

Wallet-rpc authentication (XNV, XMR, WOW)

  • XNV, XMR, and WOW wallet-rpc now starts with --rpc-bind-ip 127.0.0.1 and --rpc-login
  • Implemented manual RFC 2617 Digest authentication in HttpHelper - fully platform-agnostic, including Android where the default HTTP handler does not support Digest auth natively
  • Added preemptive auth cache to reuse nonce/realm across requests, reducing round-trips and handling concurrent requests correctly
  • Introduced TransientRpcBase - wallet-rpc credentials are excluded from config serialization and regenerated fresh each session
  • RPC credentials are masked in debug log output

Wallet-only mode fix

  • Wallet RPC now restarts immediately when switching to wallet-only mode instead of waiting for the 60-second health check, preventing "could not open wallet" errors after changing node type

@R0BC0D3R R0BC0D3R merged commit e8e6990 into main Jun 8, 2026
16 checks passed
@R0BC0D3R R0BC0D3R deleted the fix/ltc-and-security branch June 8, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant