Implement key authentication #98

Open
opened 2025-12-28 18:06:59 +00:00 by sami · 1 comment
Owner

Originally created by @cthulhu-rider on GitHub (Apr 27, 2022).

Sometimes binary public key is needed to not just verify the signature, but also for some other issues (compare authors, check ownership, etc.).

Proposal

Provide functionality of key authentication:

type AuthCenter interface {
  AssertKey(id user.ID, key []byte) error
}

Complicate signature check with authentication where needed:

  • session.Container/Object
  • bearer.Token
  • ???
Originally created by @cthulhu-rider on GitHub (Apr 27, 2022). Sometimes binary public key is needed to not just verify the signature, but also for some other issues (compare authors, check ownership, etc.). ## Proposal Provide functionality of key authentication: ``` type AuthCenter interface { AssertKey(id user.ID, key []byte) error } ``` Complicate signature check with authentication where needed: - `session.Container/Object` - `bearer.Token` - ???
Author
Owner

@cthulhu-rider commented on GitHub (Jul 25, 2023):

we should keep this issue in mind when synthesizing possible custom IAM modules. May be also partially related to #475

convergence of users and credentials may require deeper operations (proposed AuthCenter component)

@cthulhu-rider commented on GitHub (Jul 25, 2023): we should keep this issue in mind when synthesizing possible custom IAM modules. May be also partially related to #475 convergence of users and credentials may require deeper operations (proposed `AuthCenter` component)
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-sdk-go#98
No description provided.