Can someone explain me why is ant-cli using wallet private key to determine vault private key? This looks like mayor privacy issue. My private key for Arbitrum wallet can be forced to be revealed by courts, its related transactions are traceable on chain, linked to my person. So any government authority has a power to find out I own it and force me to reveal it. For example Australia has already some laws forcing people to reveal encrypted data. This private key can than be used to reveal my private vault data. I read vault documentation and it seems there can be any kind of random key for vault.
Therefore I think it would be better to remove this automatic vault key retrieval, and make it optional with big warning about privacy risks. And make default vault key random generation or user assigned, where user has to store this key himself in secure location.
Or it can be in a form, like bitcoin Trezor is using, It uses seed words + passphrase. In Autonomi vault case, it could be privatewallet key + some suitable math operation +hash(password).
Also, there is another privacy problem. Why is RPC server for the wallet official arbitrum clearned RPC server? We have a nice option directly in rust, for Tor routing.
This can solved by standing up a tiny “forward‐proxy” HTTP server on localhost, and wallet would be than configured with that localhost url instead of original clearnet RPC server url.
Tor implementations options are:
default tor service as separate exe + small forward proxy in rust.
or
direct tor rust implementation using arti-client and arti-hyper rust modules.