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
Copy file name to clipboardExpand all lines: IPNS.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,11 +42,17 @@ IPNS is based on [SFS](http://en.wikipedia.org/wiki/Self-certifying_File_System)
42
42
### Key Types
43
43
44
44
Implementations MUST support Ed25519 with signatures defined in [RFC8032](https://www.rfc-editor.org/rfc/rfc8032#section-5.1).
45
+
Ed25519 is the current default key type.
45
46
46
-
Implementations MAY support RSA, Secp256k1 and ECDSA for private use, but peers
47
+
Implementations SHOULD support RSA if they wish to interoperate with legacy
48
+
IPNS names (RSA was used before Ed25519).
49
+
50
+
Implementations MAY support Secp256k1 and ECDSA for private use, but peers
47
51
from the public IPFS swarm and DHT may not be able to resolve IPNS records
48
-
signed by these optional key types. When implementing support for these optional key
49
-
types, follow signature implementation notes from [PeerID specs](https://github.com/libp2p/specs/blob/master/peer-ids/peer-ids.md#key-types).
52
+
signed by these optional key types.
53
+
54
+
When implementing support for key types, follow signature implementation notes
55
+
from [PeerID specs](https://github.com/libp2p/specs/blob/master/peer-ids/peer-ids.md#key-types).
50
56
51
57
In all cases, the IPNS implementation MAY allow the user to enable/disable specific key types via configuration. Note that disabling support for compulsory key type will hinder IPNS interop.
0 commit comments