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

Ability to reinitialize ipfs identity #5880

Closed
jvsteiner opened this issue Dec 29, 2018 · 6 comments
Closed

Ability to reinitialize ipfs identity #5880

jvsteiner opened this issue Dec 29, 2018 · 6 comments
Labels
kind/enhancement A net-new feature or improvement to an existing feature

Comments

@jvsteiner
Copy link

I would like to be able to programmatically provision a large number of ipfs nodes, each with their own identity, on aws.

I made an aws image with ipfs preinstalled, but they are all clones of the original machine, with the same id.

The ipfs init command does not have a --force option to make it possible to regenerate a new key pair, and overwrite a previously generated keypair. This makes it more difficult than it should be to spin up large numbers of ipfs nodes for testing.

@jvsteiner
Copy link
Author

and ok, I found a reasonable workaround, which is just to remove the .ipfs directory first.

@Stebalien Stebalien added the kind/enhancement A net-new feature or improvement to an existing feature label Jan 3, 2019
@Stebalien
Copy link
Member

Yeah, the correct solution here is to just remove the old repo. We could add a force but that's a rather dangerous option.

@momack2 momack2 added this to Inbox in ipfs/go-ipfs May 9, 2019
@kuabhish
Copy link

kuabhish commented Jan 30, 2020

@jvsteiner
My ipfs cli commands were working fine. But I deleted the folder a few times.
Now the ipfs cat /ipfs/HASH/readme doesn't run.

Error is:
Error: invalid path "C:/Program Files/Git/ipfs/<HASH>/readme": illegal base32 data at input byte 0

@Stebalien
Copy link
Member

@kuabhish your issue is #4190.

@hsanjuan
Copy link
Contributor

Slightly related to this #6262.

@hsanjuan hsanjuan changed the title ability to reinitialize ipfs identity Ability to reinitialize ipfs identity Jan 31, 2020
@Jorropo
Copy link
Contributor

Jorropo commented Jul 27, 2023

ipfs key rotate exists now

@Jorropo Jorropo closed this as completed Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
No open projects
Development

No branches or pull requests

5 participants