HelloZeroNet / ZeroID

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

certs_*.json #23

Closed purplesyringa closed 6 years ago

purplesyringa commented 6 years ago

Maybe add some documentation on the format ZeroID uses? I looked through code and can't find any information about new certs_*.json in this repository.

HelloZeroNet commented 6 years ago

It's just an optimization to the site: As we are getting more users storing the old signatures are became problematic. As a solution I moved older signs to optional files (certs_*) and keeping only the usernames and the first 6 letter of auth_address in users.json and users_archive.json.

The first 6 letter of auth_address is necessary, because if you have a clean install and you want to recover your certificate from ZeroID you don't know the username, so you have to find user by auth_address.

It's possible that in the future we will remove storing old certificates in the future. As it's possible from recover it from any site you have posted before.

So: