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

RBAC registration - record key rotation in role data #241

Open
bkioshn opened this issue Mar 17, 2025 · 0 comments · May be fixed by #244
Open

RBAC registration - record key rotation in role data #241

bkioshn opened this issue Mar 17, 2025 · 0 comments · May be fixed by #244
Assignees
Labels
enhancement New feature or request

Comments

@bkioshn
Copy link
Contributor

bkioshn commented Mar 17, 2025

Summary

Record key rotation in role data

Description

Record key rotation in role data.
Key rotation here is the number of published key for each key in role in the RBAC registration.

Example

  • Making first valid CIP509 reg role 3 with signing key 0x123 -> should be rotation 0
  • Making another valid CIP509 reg role 3 with signing key 0x456 -> should be rotation 1
  • Making invalid CIP509 reg role 3 with signing key 0x678 -> no rotation because invalid
  • Making another CIP509 reg role 3 with signing key 0xabc -> should be rotation 2
  • Making another CIP509 reg role 3 with signing key 0x123 -> this should not be add new rotation because it is redundant to rotation 0

We need to be able to get the nth key from the chain for a role.

@bkioshn bkioshn self-assigned this Mar 18, 2025
@bkioshn bkioshn added the enhancement New feature or request label Mar 18, 2025
@bkioshn bkioshn added this to Catalyst Mar 18, 2025
@bkioshn bkioshn moved this from New to 🏗 In progress in Catalyst Mar 18, 2025
@Mr-Leshiy Mr-Leshiy changed the title 🛠️ [TASK] : RBAC registration - record key rotation in role data RBAC registration - record key rotation in role data Mar 18, 2025
@bkioshn bkioshn linked a pull request Mar 19, 2025 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

1 participant