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

feat: refactor key manager to hide private key. #150

Merged
merged 12 commits into from
Apr 17, 2023
Merged

Conversation

fynnss
Copy link
Contributor

@fynnss fynnss commented Mar 30, 2023

Description

Refactor key manager to hide private key.

Rationale

Enhance security

Example

NA

Changes

Notable changes:

  • NA

@fynnss fynnss changed the base branch from master to develop March 30, 2023 03:06
@fynnss fynnss added the r4r label Mar 30, 2023
//TODO NewKeyStoreKeyManager to be implemented

func (m *keyManager) recoveryFromPrivateKey(privateKey string) error {
// TODO NewKeyStoreKeyManager to be implemented
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we put the comment somewhere else? It is not for the following function, i think.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. I moved it above the NewPrivateKeyManager.

@fynnss fynnss changed the title feat: Refactor key manager to hide private key. feat: refactor key manager to hide private key. Apr 6, 2023
@unclezoro
Copy link
Collaborator

@yutianwu @forcodedancing would you do second review?

@fynnss fynnss merged commit 8e048f7 into develop Apr 17, 2023
@unclezoro unclezoro deleted the refactor_sdk branch April 18, 2023 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants