jaros1 / Money-Network

Demo with complementary and alternative money. Implemented in ZeroNet and AngularJS. Focus on privacy, encryption, max data in client and min data on ZeroNet. Work in progress.
GNU General Public License v2.0
4 stars 4 forks source link

Login page - login without password #263

Closed jaros1 closed 6 years ago

jaros1 commented 6 years ago

User info is not saved in ls. Maybe also other problems. Problem with lost pubkey in MN-W2 communication.

jaros1 commented 6 years ago

Test 1: register without login. name = jro test no login 1. issue-263-test-1.log

Test 2: reload page. Login option "Private data are saved" is checked. should have been unchecked issue-263-test-2.log

jaros1 commented 6 years ago

Everything is working OK, but added extra mouseover info in log in page. First check box "Private data are saved" is true or false to save data in localStorage. Uncheck=nothing is saved in localStorage between calls. Second check box "encrypted in your browser" is true or false to password protection in browser. uncheck disable password and encryption. Data are saved unencrypted in localStorage. Retest "Full send money test" with correct setting on VM2

screenshot from 2017-11-10 10-17-29

jaros1 commented 6 years ago

Still a problem with "Private data" checked and "encryption" unchecked.

Test 5. Log in. updated user info. saved. log out. log in. user info were overwriten in UI but not saved on ZeroNet. issue-263-test-5.log

jaros1 commented 6 years ago

Test 6: added some extra debug into. Log in, updated user info and saved. OK user info both ZeroNet clients. Data saved on Zeronet:

screenshot from 2017-11-10 10-53-56

reloading page, new log in, user info overwritten in UI but not in Zeronet: screenshot from 2017-11-10 10-58-20

issue-263-test-6.log

jaros1 commented 6 years ago

Test 7. Changed a few things in client_login function. OK blank password log in now but "Welcome to Money Network" info was displayed in Account page. Can see that numbers of contacts = 0 er used to trigger this info. Maybe z_contact_search are run after entering Account page. Should be removed. Maybe a angularJS refresh issue? Check log.

issue-263-test-7.log

jaros1 commented 6 years ago

Still problems with blank password login in VM2 (Netherlands). New user info after each log in.

jaros1 commented 6 years ago

Missing salt when checking for existing account with blank password