interledger-deprecated / ilp-kit-cli

Tools for connector configuration management
Other
5 stars 2 forks source link

Ask for hostname, not public key when peering #15

Closed justmoon closed 7 years ago

justmoon commented 7 years ago

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.

sharafian commented 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:

justmoon commented 7 years ago

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:

sharafian commented 7 years ago

Resolved by the new peering flow