Add backward response for N3 account verification #1423

Open
opened 2025-12-28 17:22:57 +00:00 by sami · 2 comments
Owner

Originally created by @smallhive on GitHub (Jun 6, 2025).

Using N3 accounts gives a powerful tool. But in case of VerifySignature fails (return false), the Node doesn't return a response to the client app.

For instance, for container removal. If a user tries to remove someone's container:

  • VerifySignature returns false
  • There is a log message in AIO:
error	container/process_container.go:172	delete container check failed	{"error": "auth container removal: verification script run resulted in false"}

But the client app still waits for the response. Eventually timeout.

Describe the solution you'd like

Return a clear response, the check failed

Originally created by @smallhive on GitHub (Jun 6, 2025). ## Is your feature request related to a problem? Please describe. Using N3 accounts gives a powerful tool. But in case of `VerifySignature` fails (return false), the Node doesn't return a response to the client app. For instance, for container removal. If a user tries to remove someone's container: * `VerifySignature` returns false * There is a log message in AIO: ``` error container/process_container.go:172 delete container check failed {"error": "auth container removal: verification script run resulted in false"} ``` But the client app still waits for the response. Eventually timeout. ## Describe the solution you'd like Return a clear response, the check failed
Author
Owner

@roman-khimov commented on GitHub (Jun 6, 2025):

But it's impossible for IR-level checks. It's not a call, there is no way to return response.

@roman-khimov commented on GitHub (Jun 6, 2025): But it's impossible for IR-level checks. It's not a call, there is no way to return response.
Author
Owner

@roman-khimov commented on GitHub (Jun 23, 2025):

The only possibility is SN doing these checks.

@roman-khimov commented on GitHub (Jun 23, 2025): The only possibility is SN doing these checks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-node#1423
No description provided.