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

CLI command to dump libp2p keys #14169

Merged
merged 2 commits into from Sep 21, 2023
Merged

Conversation

psteckler
Copy link
Member

@psteckler psteckler commented Sep 20, 2023

In mina libp2p, add new command dump-keypair to complement generate-keypair. Kind of funny this wasn't already there.

Tested by dumping an existing libp2p key.

Example output:

libp2p keypair:
CAESQGSSnpssRHuG5icSdN0KYRlWXZKiVb14WeaWLNmLUnuDzgufvwaa58I5T7WlGvO+9ObIyzJy3gk5suDZ1swxAos=,CAESIM4Ln78GmufCOU+1pRrzvvTmyMsyct4JObLg2dbMMQKL,12D3KooWPggSBCDGdvabmA9uXyHzXAuxuADryR2Y2tNMDu4572Uz

@psteckler psteckler requested a review from a team as a code owner September 20, 2023 22:43
@psteckler
Copy link
Member Author

!ci-build-me

@georgeee
Copy link
Member

@psteckler could you please add a sample output of the command to PR description?

@psteckler
Copy link
Member Author

!ci-build-me

@deepthiskumar
Copy link
Member

!approved-for-mainnet

@deepthiskumar deepthiskumar merged commit b423d99 into berkeley Sep 21, 2023
26 checks passed
@deepthiskumar deepthiskumar deleted the feature/dump-libp2p-keypair branch September 21, 2023 15:20
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.

None yet

3 participants