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

remove key serialization, construct conn from ipnet.PSK #32

Merged
merged 1 commit into from
Mar 7, 2020

Conversation

marten-seemann
Copy link
Contributor

@marten-seemann marten-seemann commented Feb 20, 2020

libp2p/go-libp2p-core#118 removes the ipnet.Protector interfaces and replaces it by an ipnet.PSK (which is a named type for []byte). Arguably, serialization of keys to a format that's storable on disk (and the corresponding deserialization) doesn't belong into libp2p, but should be the responsibility of the application using libp2p.

Therefore, this PR removes all serialization and deserialization functions. I will move them to IPFS in another PR.

Tracking issue: libp2p/go-libp2p#795.

@Stebalien
Copy link
Member

Stebalien commented Feb 27, 2020

comment moved to libp2p/go-libp2p#795 (comment)

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

LGTM

@Stebalien Stebalien added the status/blocked Unable to be worked further until needs are met label Mar 3, 2020
@Stebalien
Copy link
Member

Let's leave off merging this till everything is ready.

@Stebalien
Copy link
Member

Any idea why the tests are failing?

@marten-seemann
Copy link
Contributor Author

@Stebalien All the PRs listed in libp2p/go-libp2p#795 should be ready for merging.
The CI is failing because go-libp2p-core changed the PSK type.

@Stebalien Stebalien removed the status/blocked Unable to be worked further until needs are met label Mar 7, 2020
@Stebalien Stebalien merged commit c4097eb into master Mar 7, 2020
@Stebalien Stebalien deleted the generalize-private-network branch March 7, 2020 01:57
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.

2 participants