I’m using libp2p with SECIO in the browser and successfully getting connections and dialing to other peers. However, libp2p doesn’t expose these peers pubKey to my application, even though it has already gotten access to it in the SECIO connection negotiation.
I believe the problem is that at his
.setInnerConn call is ignoring the peer data it could be using and just setting the raw connection on https://github.com/libp2p/js-libp2p-secio/commit/74f6fd8ab33eceb64a80bd6a280f5931946813b1#r26748869.
What am I missing here?