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

feat/exchange object meta's signatures #2928

Merged
merged 4 commits into from
Sep 12, 2024

Commits on Sep 10, 2024

  1. go.mod: update neofs-api-go dependency

    It has `Replicate` with meta signatures.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    6a8c835 View commit details
    Browse the repository at this point in the history
  2. node/object/put: exchange meta signatures during replication

    Initial replication requires nodes to sign object's main meta information and
    respond with it. Meta information is not sent on wire and treated as a fixed
    ordered NEO's map. Signatures are verified, not stored/send anywhere yet.
    It follows the recent API extension: nspcc-dev/neofs-api#299.
    Further, this extension is planned to have a contract adoption:
    nspcc-dev/neofs-contract#413 and nspcc-dev/neofs-contract#414.
    Closes #2876.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    b724d14 View commit details
    Browse the repository at this point in the history
  3. pkg/morph: make read network's magic uint32

    When I wanted to use it, I wrote all the code based on `uint32` (because I knew
    it should be this way), and at the last moment I found that `client` package
    returns it as `uint64` for no reason.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    5d236f3 View commit details
    Browse the repository at this point in the history
  4. node/object/replicate: add network magic object's meta information

    It saves from replay attacks and makes replication operation (and meta
    information in particular) more explicit.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d7b63cb View commit details
    Browse the repository at this point in the history