Skip to content

commands: derive PeerID during config replace#11344

Open
morning-verlu wants to merge 1 commit into
ipfs:masterfrom
morning-verlu:codex/recompute-peerid-on-config-replace
Open

commands: derive PeerID during config replace#11344
morning-verlu wants to merge 1 commit into
ipfs:masterfrom
morning-verlu:codex/recompute-peerid-on-config-replace

Conversation

@morning-verlu
Copy link
Copy Markdown

Summary

  • derive Identity.PeerID from the preserved private key during config replace
  • add CLI regression coverage for replacing config with a foreign PeerID
  • add changelog entry

Fixes #8993

Test plan

  • go test ./core/commands
  • go test ./test/cli -run TestConfigSecrets

Signed-off-by: morning-verlu <258725120+morning-verlu@users.noreply.github.com>
@morning-verlu morning-verlu requested a review from a team as a code owner May 31, 2026 13:32
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.

ipfs config replace can result in a broken configuration.

1 participant