Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for deprecated IPNS records v1 #9240

Closed
lidel opened this issue Aug 31, 2022 · 0 comments · Fixed by #9265
Closed

Remove support for deprecated IPNS records v1 #9240

lidel opened this issue Aug 31, 2022 · 0 comments · Fixed by #9265
Assignees
Labels
dif/medium effort/days Estimated to take multiple days, but less than a week kind/maintenance Work required to avoid breaking changes or harm to project's status quo P1 High: Likely tackled by core team if no one steps up topic/ipns Topic ipns

Comments

@lidel
Copy link
Member

lidel commented Aug 31, 2022

Part of ipfs/specs#314, corresponding JS-IPFS issue: ipfs/js-ipfs#4197

Support for extensible records (and v2 signature) was added in 2021. Kubo is producing and preferring updated v2 IPNS records by default, but if no v2 is found, it will still accept deprecated v1 for backward-compatibility during the transition period.

A year later, we should remove fallback support for validating v1 signatures and ignore them instead.

@lidel lidel added kind/maintenance Work required to avoid breaking changes or harm to project's status quo topic/ipns Topic ipns P1 High: Likely tackled by core team if no one steps up effort/days Estimated to take multiple days, but less than a week dif/medium labels Aug 31, 2022
@lidel lidel self-assigned this Sep 6, 2022
lidel added a commit to ipfs/go-ipns that referenced this issue Sep 12, 2022
This is part of deprecation described in ipfs/kubo#9240
- record creation continues to create both V1 and V2  signatures
- record validation no longer accepts V1 signatures

Meaning:
- modern nodes are 100% V2, they ignore V1 signatures
- legacy nodes (go-ipfs < v0.9.0) are still able to resolve names
  created by go-ipns, because V1 is still present
Jorropo pushed a commit to ipfs/go-libipfs-rapide that referenced this issue Mar 23, 2023
This is part of deprecation described in ipfs/kubo#9240
- record creation continues to create both V1 and V2  signatures
- record validation no longer accepts V1 signatures

Meaning:
- modern nodes are 100% V2, they ignore V1 signatures
- legacy nodes (go-ipfs < v0.9.0) are still able to resolve names
  created by go-ipns, because V1 is still present


This commit was moved from ipfs/go-ipns@b655f6b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dif/medium effort/days Estimated to take multiple days, but less than a week kind/maintenance Work required to avoid breaking changes or harm to project's status quo P1 High: Likely tackled by core team if no one steps up topic/ipns Topic ipns
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant