You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 24, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
# DEPRECATION NOTICE
2
+
3
+
secio is not maintained any more, and we advise against using it.
4
+
5
+
Use [go-libp2p-tls](https://github.com/libp2p/go-libp2p-tls/) and [go-libp2p-noise](https://github.com/libp2p/go-libp2p-noise/) instead.
Copy file name to clipboardExpand all lines: transport.go
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,15 @@ import (
14
14
// ID is secio's protocol ID (used when negotiating with multistream)
15
15
constID="/secio/1.0.0"
16
16
17
-
// SessionGenerator constructs secure communication sessions for a peer.
17
+
// Deprecated: secio is now deprecated.
18
+
// Use TLS 1.3 (https://github.com/libp2p/go-libp2p-tls/) and Noise (https://github.com/libp2p/go-libp2p-noise/) instead.
18
19
typeTransportstruct {
19
20
LocalID peer.ID
20
21
PrivateKey ci.PrivKey
21
22
}
22
23
24
+
// Deprecated: secio is now deprecated.
25
+
// Use TLS 1.3 (https://github.com/libp2p/go-libp2p-tls/) and Noise (https://github.com/libp2p/go-libp2p-noise/) instead.
0 commit comments