Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit d1b0a8a

Browse files
authored
fix!: require IPNS V2 signatures (#4207)
Co-authored-by: achingbrain <alex@achingbrain.net> js-ipfs will now ignore V1 signatures when validating IPNS records, and always require V2. See ipfs/js-ipns#180 for low level details (needs that to be released before merging this) Closes #4197 BREAKING CHANGE: IPNS Records that do not have V2 but have V1 signature will no longer pass validation, even if V1 is correct. V2 is mandatory to pass validation. See "Record validation" in ipfs/specs#319 for details.
1 parent d75e0a3 commit d1b0a8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/interface-ipfs-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"ipfs-unixfs": "^7.0.0",
8989
"ipfs-unixfs-importer": "^10.0.2",
9090
"ipfs-utils": "^9.0.6",
91-
"ipns": "^2.0.2",
91+
"ipns": "^3.0.0",
9292
"is-ipfs": "^7.0.0",
9393
"iso-random-stream": "^2.0.2",
9494
"it-all": "^1.0.4",

packages/ipfs-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"ipfs-unixfs-exporter": "^8.0.6",
122122
"ipfs-unixfs-importer": "^10.0.2",
123123
"ipfs-utils": "^9.0.6",
124-
"ipns": "^2.0.2",
124+
"ipns": "^3.0.0",
125125
"is-domain-name": "^1.0.1",
126126
"is-ipfs": "^7.0.0",
127127
"it-drain": "^1.0.3",

0 commit comments

Comments
 (0)