Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monero-wallet-rpc: Prevent --password-file from being used with --wallet-dir #7823

Conversation

DangerOnTheRanger
Copy link
Collaborator

This PR fixes #7624 by simply checking for the simultaneous presence of both --password-file and --wallet-dir when starting monero-wallet-rpc.

src/wallet/wallet_rpc_server.cpp Outdated Show resolved Hide resolved
src/wallet/wallet2.cpp Outdated Show resolved Hide resolved
@DangerOnTheRanger DangerOnTheRanger force-pushed the wallet_dir_password_file_either_or branch from b4d4975 to 61e31ad Compare August 20, 2021 08:41
src/wallet/wallet2.cpp Outdated Show resolved Hide resolved
src/wallet/wallet_args.cpp Outdated Show resolved Hide resolved
@DangerOnTheRanger DangerOnTheRanger force-pushed the wallet_dir_password_file_either_or branch from 61e31ad to 5d4853a Compare August 20, 2021 08:56
@selsta
Copy link
Collaborator

selsta commented Aug 20, 2021

Ok please squash and afterwards it should be good

@DangerOnTheRanger DangerOnTheRanger force-pushed the wallet_dir_password_file_either_or branch from 5d4853a to 24d3d65 Compare August 20, 2021 13:56
@luigi1111 luigi1111 merged commit dfa6b58 into monero-project:master Sep 9, 2021
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.

monero-wallet-rpc --password-file should be disallowed with --wallet-dir present
4 participants