Closed victornoel closed 3 years ago
@victornoel https://wts.zold.io/key to get the private key (you'll need the Keygap)
Then you'll need to generate the public key from the private key using ssh-keygen -y -f .ssh/zold_key > .ssh/zold_key.pub
Then, when using the zold CLI, there's a --private-key/--public-key flag, which you can use to specify what private/public key to use for the action. Not sure if there's a way to change the default pubkey/privkey configuration (currently id_rsa) so that you don't have to specify it, the simplest way to do that might be to edit the code where the defaults are specified, and rebuild it.
@golyalpha thank you for those informations, very useful.
@yegor256 what do you think about
--private-key
and /--public-key
, but maybe if this can be set in a config file it would be great?@victornoel maybe you can submit a PR for the README file of zold/wts.zold.io repo?
@yegor256 can't we simply put this issue in scope?
@victornoel sure, we can. But maybe you can contribute and we just close it :)
@yegor256 hehe, yes, I can do the README ok ;)
But what about allowing to specify the path to the keys in the config file?
@victornoel it's possible to do, as is. No need to change the software.
@yegor256 great, how can I do it? I will document it also in the README then
@victornoel just say --private-key=/home/file
in your config file and that's it. Everything you say there is used as command line arguments.
@yegor256 one last question: what is the name of the configuration file, I don't see this information in the README
@victornoel it's ~/.zold
@yegor256 btw I've made a PR as discussed: #792
@victornoel merged, thanks!
Job gh:zold-io/zold#788
is not assigned, can't get performer
Is your feature request related to a problem? Please describe.
I would like to make a backup of my WTS wallet locally (mainly because I don't trust WTS completely for not loosing my money).
Describe the solution you'd like
Clear instructions on how to do that, and in particular how to run zold with the private key I retrieved from WTS.