ethersphere / swarm-cli

Manage your Bee node and interact with the Swarm network via the CLI
BSD 3-Clause "New" or "Revised" License
48 stars 21 forks source link

feat: add utility lock and unlock commands #464

Closed Cafe137 closed 1 year ago

attila-lendvai commented 1 year ago

@Cafe137 this works great, thanks!

unfortunately, i have just realized that this only works for the blockchain key, which is enough when someone wants to mine a new node into a neighborhood. but just now, when i wanted to migrate a node from one environment to another, i realized that the other keys (libp2p_v2.key and pss.key) are also encrypted with the password, so i cannot migrate the node.

i'll probably proceed by changing my service code to assign a separate password for each node it starts, but i wanted to let you know about this uncovered use-case, too.