Try extracting public key from peer identity
Try extracting public key from peer identity

See https://github.com/ipfs/go-ipfs/issues/3896. Depends on https://github.com/libp2p/go-libp2p-peer/pull/13.
libp2p/go-libp2p-kad-dht