Skip to content

object: Deprecate verification fields in GET and HEAD responses#334

Merged
roman-khimov merged 1 commit intomasterfrom
get-head-unsigned
Jun 20, 2025
Merged

object: Deprecate verification fields in GET and HEAD responses#334
roman-khimov merged 1 commit intomasterfrom
get-head-unsigned

Conversation

@cthulhu-rider
Copy link
Contributor

No description provided.

The responses transmit object headers and, for GET, payload. Header may
be checked using requested object ID. Payload checksum is stored inside
the header. These mean that all data is verifiable and there is no need
to calculate and transport additional signatures.

This deprecates `verify_header` field in `GetResponse` and
`HeadResponse` messages. Messages become more lightweight. Also, client
and servers going to save CPU and memory.

Refs nspcc-dev/neofs-node#3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-sdk-go that referenced this pull request Jun 19, 2025
They are deprecated since nspcc-dev/neofs-api#334.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-sdk-go that referenced this pull request Jun 19, 2025
They are deprecated since nspcc-dev/neofs-api#334.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 19, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 19, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 19, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 19, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, after some thinking and looking at https://github.com/neo-project/neofs-api-csharp (that uses 2.11) it seems like we can do this safely for this specific requests (which we care about most). Other requests can be considered later.

@roman-khimov roman-khimov merged commit 7dd2d1d into master Jun 20, 2025
3 checks passed
@roman-khimov roman-khimov deleted the get-head-unsigned branch June 20, 2025 08:50
@roman-khimov roman-khimov added this to the v2.18.0 milestone Jun 20, 2025
cthulhu-rider added a commit to nspcc-dev/neofs-sdk-go that referenced this pull request Jun 20, 2025
They are deprecated since nspcc-dev/neofs-api#334.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 21, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 23, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 23, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 23, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 23, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 24, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 25, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit to nspcc-dev/neofs-node that referenced this pull request Jun 25, 2025
Follow nspcc-dev/neofs-api#334.

Refs #3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit that referenced this pull request Jan 26, 2026
Spread #334 to all RPC.

Needed for nspcc-dev/neofs-node#3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit that referenced this pull request Jan 26, 2026
Spread #334 to all RPC.

Needed for nspcc-dev/neofs-node#3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit that referenced this pull request Jan 26, 2026
Spread #334 to all RPC.

Needed for nspcc-dev/neofs-node#3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit that referenced this pull request Feb 4, 2026
Spread #334 to all RPC.

Needed for nspcc-dev/neofs-node#3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
cthulhu-rider added a commit that referenced this pull request Feb 4, 2026
Spread #334 to all RPC.

Needed for nspcc-dev/neofs-node#3396.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants