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

Reason: user "xiaods" is not a local Infinit user, how to remove it #36

Closed
xiaods opened this issue Jul 22, 2017 · 8 comments
Closed

Reason: user "xiaods" is not a local Infinit user, how to remove it #36

xiaods opened this issue Jul 22, 2017 · 8 comments

Comments

@xiaods
Copy link

xiaods commented Jul 22, 2017

through reading the tutorial, i have created xiaods account. now i want to reset the environment in my devel env, but i can't do it, anyone know howto reset the env to restarting environment.

@xiaods
Copy link
Author

xiaods commented Jul 22, 2017

i have fetch the account from the hub.
infinit user fetch -n xiaods

but how can i delete it from remote hub.

@Dimrok
Copy link

Dimrok commented Jul 22, 2017

Hi @xiaods.

To remove the user xiaods from the hub, you need to run infinit user pull -n xiaods but first remember to remove every resources (network, volume, drive, etc.) you put on the hub.

You can run ìnfinit user delete --purge --pull, it should remove everything related to your user and you should have a clean environment except silos and other resources fetched that don't belong to you.

@xiaods
Copy link
Author

xiaods commented Jul 23, 2017

@Dimrok thanks for your help. the command "infinit user delete --purge --pull" is good point. but i also have another issue:

$ infinit user delete --purge --pull
infinit: fatal error: no private key for xiaods, unable to sign request

so how to reset the passwd. i am not found any page to reset.

@xiaods
Copy link
Author

xiaods commented Jul 23, 2017

2017-07-23 4 39 44

@Dimrok
Copy link

Dimrok commented Jul 23, 2017

Hmm right.

If somehow, you delete your user locally, this means its private key has been destroyed. To authenticate a user on the hub (for example for him to add or remove resources associated to him), we need a proof, given by a signature that uses its private key.

If the private key has been deleted, you have no way to remove resources for the hub anymore.

@xiaods
Copy link
Author

xiaods commented Jul 24, 2017

@Dimrok it's my bad, i want testing all feature in current infinit utility. i don't know the result when i remove user data locally. so i maybe destroyed my private key right now.

i suggest provide a way to download the private key. it will let me can restore the relationship.

@Dimrok
Copy link

Dimrok commented Jul 24, 2017

@xiaods we don't store your private key unless you explicitly ask for (by running infinit user create/push/signup with the --full --password <password> options).

If you didn't, the key is lost forever.

@xiaods
Copy link
Author

xiaods commented Jul 27, 2017

@Dimrok Got. thanks a lot.

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

No branches or pull requests

2 participants