Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to encode publicKeys / other meta infromation #12

Closed
wanderer opened this issue Jan 5, 2016 · 1 comment
Closed

how to encode publicKeys / other meta infromation #12

wanderer opened this issue Jan 5, 2016 · 1 comment

Comments

@wanderer
Copy link
Member

wanderer commented Jan 5, 2016

How would you add something like a public key? Like this?

/ip6/<ipv6 str addr>/<tcp int port>/<pubkey>

Also in rlpx we only have tcp. Never udp. So can we drop the udp/tcp identifier?
Lastly, Pubkeys are optional. How can that be expressed?

Related
#6 (comment)

@ghost
Copy link

ghost commented Jan 5, 2016

I'll be in a similar situation with cjdns/fc00, and so far I thing it's fine to include the public-key in the multiaddr, if it's required for opening a session. IPFS does the same basically, by putting a fingerprint of the public key into the multiaddr.

For example:

/ip4/1.2.3.4/udp/54321/cjdns/<thepublickey>

Regarding the representation of keys, this is relevant: ipfs/specs#58

@ghost ghost closed this as completed Mar 15, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants