Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Migrate to go-libp2p-tls #43

Closed
wants to merge 1 commit into from

Conversation

Ichbinjoe
Copy link

Directly closes #18 and libp2p/go-libp2p-tls#4

@Ichbinjoe Ichbinjoe changed the title Migrate to go-libp2p-tls WIP: Migrate to go-libp2p-tls Dec 12, 2018
@Ichbinjoe
Copy link
Author

Ichbinjoe commented Dec 12, 2018

Blocked by libp2p/go-libp2p-tls#7 as well as a go-conn-security version bump within go-libp2p-tls (conflicting types)

@Ichbinjoe
Copy link
Author

This fails since its dependencies were not updated. On my local system with test dependency this passes. This is still blocked on libp2p/go-libp2p-tls#7.

I removed two tests since they no longer make sense - the server isn't able to validate the client ID against the certificate it receives, so it doesn't make sense to check to be sure who connected to us is someone we expected to connect to us, since that concept doesn't exist anymore.

In addition, this behavior can probably be tested instead in the go-libp2p-tls package in the future.

@Ichbinjoe Ichbinjoe changed the title WIP: Migrate to go-libp2p-tls Migrate to go-libp2p-tls Dec 13, 2018
Copy link
Collaborator

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the same reason that #37 can't be merged at this time (which is the same reason we can't merge libp2p/go-libp2p-tls#7), we won't be able to merge this pull request. So this will have to wait until a new version of quic-go is released. This won't happen this year any more, for sure, and might or might not happen in January next year.

@marten-seemann
Copy link
Collaborator

This is obsolete now that libp2p/go-libp2p-tls#20 has landed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reuse code from go-libp2p-tls
2 participants