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

Implement Canonical Key Registry #5609

Closed
Tracked by #5606
benesjan opened this issue Apr 8, 2024 · 0 comments · Fixed by #5723
Closed
Tracked by #5606

Implement Canonical Key Registry #5609

benesjan opened this issue Apr 8, 2024 · 0 comments · Fixed by #5723
Assignees

Comments

@benesjan
Copy link
Contributor

benesjan commented Apr 8, 2024

Note: Read this post from Santiago to for context.

Implement Canonical Key Registry as it is described in this post and in this diagram:

image

Note that the post from Santiago is a bit outdated because it's dealing with encryption keys only but according to the latest docs we will have 4 different key types (Npk_m, Ivpk_m, ...).

The contract should have a register method which takes the individual public keys and other parts of the address preimage, then it computes the public keys hash and from that the address and then it stores the values in the mapping in public storage.
image

Since we need to be able to constrain that latest keys are used from both public and private we will need to use SharedMutable to store the keys. The contract should contain something like:

Map<AztecAddress, SharedMutable<UserKeys, DELAY>>

See this post for context.

@github-project-automation github-project-automation bot moved this to Todo in A3 Apr 8, 2024
@benesjan benesjan changed the title Implement Canonical Key Registry Implement Canonical Key Registry Apr 8, 2024
@sklppy88 sklppy88 self-assigned this Apr 10, 2024
@sklppy88 sklppy88 moved this from Todo to In Progress in A3 Apr 16, 2024
@sklppy88 sklppy88 moved this from In Progress to In Review in A3 Apr 17, 2024
sklppy88 added a commit that referenced this issue Apr 17, 2024
…ble getter from another contract 5689 (#5723)

Resolves #5609 and #5689

---------

Co-authored-by: Jan Beneš <[email protected]>
@github-project-automation github-project-automation bot moved this from In Review to Done in A3 Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
2 participants