HelloZeroNet / ZeroID

ZeroNet authentication provider
http://127.0.0.1:43110/zeroid.bit
GNU General Public License v2.0
43 stars 24 forks source link

how to change name? #27

Closed whoizit closed 3 years ago

whoizit commented 6 years ago

how to change name?

xealits commented 3 years ago

The explanation from here works:

nofishme 5 years ago

Currently the best way to have multiple identities is enabling the Multiuser plugin by renaming plugins/disabled-Multiuser directory to plugins/Multiuser then restart ZeroNet

After this you will able to change identities in ZeroHello. To login to other account you will have to enter the master_seed value from your users.json file. After you changed your identity you have to visit the ZeroID site to get your zeroid certificate back (Certificate added notification will be appear)

The *.pem file is not important, they generated again every time you restart your client.

But there is one tricky bit! I do not know what the Multiuser plugin does, but you get the username from the zeroid.bit user authentication database. So, do not forget to save the private key that it generates for your username:

Selection_086

When Multiuser plugin is "enabled", you will have to 1) login with this private key on the ZeroHello page, 2) open zeroid.bit which will set some zeroid certificates for your account, 3) and in services like ZeroMail you will have to select your username.

In the vanila single user setup, before "enabling" the Multiuser plugin, I saved the data/users.json file, which contained the master_seed field. The value in that field works as the private key that you use to login into your old user with the Multiuser plugin on. In fact, when you get the private key from zeroid.bit, it is the same as this "master seed".

Also just to notice, there is an open issue on how to improve this.