simplewallet
has a RPC mode that allows you to access it via an API. This is intended for local use only.
Is there a way to use simplewallet remotely in a secure way?
Monero Stack Exchange is a question and answer site for developers and users of the secure, private and untraceable cryptocurrency Monero. It only takes a minute to sign up.
Sign up to join this communityIn Monero 'Wolfram Warptangent' (v0.10.0.0-release)
, use this flag
--user-agent arg
It is used to Restrict RPC to clients using this user agent. Make sure to set the user agent to something that cannot be guessed. i.e. a random UUID.
That way only RPC clients that set the User-Agent
in the HTTP header can access the wallet.
However, this requires that all RPC clients and RPC server share the same secret. If at least one of them leaks said secret, all the monero in your wallet will be gone. Also, all the User-Agent
values sent to your servers will be visible.
A better option is to use something like this or this, to keep your RPC behind a proxy which needs authentication. I will write a tutorial on how to do this when I find some time.
There is no built-in secure way to use simplewallet (renamed monero-cli-wallet) remotely.
However, you could rely on a trusted third party software to secure the transport, like ssh, stunnel, nginx ...
BTW, SimpleWallet is very light so there is no (or very few) need to use it remotely.