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 alias key support #15

Merged
merged 11 commits into from
Jul 12, 2024
Merged

implement alias key support #15

merged 11 commits into from
Jul 12, 2024

Conversation

v9n
Copy link
Member

@v9n v9n commented Jul 11, 2024

Implement alias key concept as following:

  1. create alias key: allow to generate or import a private key, and encyrpt with the same ecdsa password of operator key
  2. declare alias key for the operator: bind the alias public key address to the operator (ecdsa public key) hold in AP Contract

Later on, whenever we signed, we can look up the APCOnfig contract

The operator is implemented to also check and make sure there is an alias <-> operator binding existed if the ecdsa singer key doesn't match operator address.

@v9n v9n changed the title implement alias key implement alias key support Jul 11, 2024
Copy link
Member

@chrisli30 chrisli30 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@v9n v9n merged commit 11f0f69 into main Jul 12, 2024
2 checks passed
@v9n v9n deleted the support-alias-key branch July 12, 2024 21:17
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.

2 participants