Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

[DO NOT MERGE] poc: allow pure V2 records #42

Closed
wants to merge 3 commits into from

Commits on Sep 12, 2022

  1. chore: require V2 signatures

    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
    lidel committed Sep 12, 2022
    Configuration menu
    Copy the full SHA
    b655f6b View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. feat: allow pure V2 records

    This is a PoC that shows minimal set of changes to allow "pure V2" IPNS
    records which have only two protobuf fields: `IpnsEntry.Data` and
    `IpnsEntry.SignatureV2`
    
    `Create` still creates V1+V2, but the `Validate` only cares about V2
    fields.
    lidel committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    c9ebea6 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2022

  1. refactor: hasV1Fields

    Makes it more clear when we require CBOR to match protobuf
    lidel committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    05c0748 View commit details
    Browse the repository at this point in the history