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

Persist libp2p key #180

Closed
ryardley opened this issue Nov 9, 2024 · 1 comment · Fixed by #192
Closed

Persist libp2p key #180

ryardley opened this issue Nov 9, 2024 · 1 comment · Fixed by #192
Labels
Ciphernode Related to the ciphernode package enhancement New feature or request

Comments

@ryardley
Copy link
Contributor

ryardley commented Nov 9, 2024

Currently we generate libp2p peer_id's on the fly we should derive the peer_id from a single private key proposal: the same one as the ETH private key.

@ryardley ryardley added enhancement New feature or request Ciphernode Related to the ciphernode package labels Nov 9, 2024
@ryardley ryardley changed the title Drive libp2p Keypair from stored & encrypted private key Derive libp2p Keypair from stored & encrypted private key Nov 10, 2024
@ryardley
Copy link
Contributor Author

I think it makes more sense from a security perspective to randomly generate the key and hold it encrypted by the secret.

@ryardley ryardley changed the title Derive libp2p Keypair from stored & encrypted private key Persist libp2p key Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ciphernode Related to the ciphernode package enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant