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

fix: Update Key Derive in TEE #2039

Merged
merged 3 commits into from
Jan 9, 2025

Conversation

HashWarlock
Copy link
Collaborator

Relates to

Fixes the Key Derive functionality, by using path for reliable key derivation. Subject is documented and commented in code to clarify the use for the certificate chain.

Risks

Low, the risk is low since this does not change existing functionality, but brings more clarity.

Background

Client had a problem with generating new wallets for Solana since the derived key would stay the same even though the subject was changed.

What does this PR do?

This brings clarity on how to use the key derivation function for TEE Plugin and updates the functionality to Solana and EVM chains

What kind of change is this?

Bug fixes, and added unit tests

Documentation changes needed?

Testing

Where should a reviewer start?

Detailed testing steps

Copy link
Collaborator

@Freytes Freytes left a comment

Choose a reason for hiding this comment

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

gtg

@shakkernerd shakkernerd enabled auto-merge January 9, 2025 05:37
@shakkernerd shakkernerd disabled auto-merge January 9, 2025 05:38
@shakkernerd shakkernerd merged commit 941b8d1 into elizaOS:develop Jan 9, 2025
6 checks passed
@shakkernerd
Copy link
Member

Changing this PR to draft to solve verifiability problem with the current key derivation flow

KEK

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.

3 participants