EOSIO / eosjs-keygen

Javascript keys generator for EOS
71 stars 42 forks source link

Keystore 'invalid login' behaviour #2

Closed jcalfee closed 6 years ago

jcalfee commented 6 years ago

Invalid login happens in keystore.deriveKeys only as a result of a complete blockchain miss-match in keys:

To assist with a new user sign-up process, deriveKeys may encounter key changes even if they are saved to the device's storage.

jcalfee commented 6 years ago

@flux627 please review https://github.com/EOSIO/eosjs-keygen/blob/b1ebc8aca164bad912faf99d46819883f393adf4/src/keystore.test.js#L83-L148

jcalfee commented 6 years ago

deployed to npm : eosjs-keygen@1.3.0