Closed justmoon closed 7 years ago
Should plugin virtual be changed in order to get the public key from a hostname each time it connects? Is there currently an endpoint in the ILP Kit where the public key can be placed?
The options seem to be:
Depends on interledgerjs/five-bells-ledger#101.
I think we should go with this option for now:
CLI prompts for hostname, fetches pubkey, puts key in plugin-virtual configuration (peer must be running their ILP kit)
Reason being that we currently don't support changing tokens for various reasons:
prefix
is currently hard-coded in the config (should be generated on the fly)connector
is currently hard-coded in the config (should be generated on the fly)Resolved by the new peering flow
The CLI should ask for the peer's hostname and fetch the public key automatically.
It's nice if you can override the public key used in the plugin-virtual options, but this is an advanced use case and does not need to be supported by the CLI.