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

Commit

Permalink
fix!: require IPNS V2 signatures (#4207)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lidel authored Sep 22, 2022
1 parent d75e0a3 commit d1b0a8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"ipfs-unixfs": "^7.0.0",
"ipfs-unixfs-importer": "^10.0.2",
"ipfs-utils": "^9.0.6",
"ipns": "^2.0.2",
"ipns": "^3.0.0",
"is-ipfs": "^7.0.0",
"iso-random-stream": "^2.0.2",
"it-all": "^1.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"ipfs-unixfs-exporter": "^8.0.6",
"ipfs-unixfs-importer": "^10.0.2",
"ipfs-utils": "^9.0.6",
"ipns": "^2.0.2",
"ipns": "^3.0.0",
"is-domain-name": "^1.0.1",
"is-ipfs": "^7.0.0",
"it-drain": "^1.0.3",
Expand Down

0 comments on commit d1b0a8a

Please sign in to comment.