Commit graph

7 commits

Author SHA1 Message Date
Daniel Krol f472b73a68 Found a decent chunk of repeated code in http handler tests 2022-06-19 16:57:37 -04:00
Daniel Krol f9492e64fa Switch to specifying errors to return for mocked store functions. 2022-06-19 16:40:16 -04:00
Daniel Krol 11255d7d41 Test getPostData, factor stuff out of auth test 2022-06-19 15:56:10 -04:00
Daniel Krol 05505bfebb Better organized fake store functions for server test 2022-06-17 12:52:17 -04:00
Daniel Krol 512ebe3e95 Protocol changes
* Regress from `lastSynced` to just `sequence` to start with something simpler
* Simplified payload: separate metadata, assume canonical way to hmac it together
  * No more "wallet state" except as a simple wrapper on the front end
* Version number in wallet payloads
2022-06-10 15:04:31 -04:00
Daniel Krol 0bf11b059c Change to normal password auth, and various things 2022-06-07 17:47:38 -04:00
Daniel Krol 2fbcf6ee6d Get/Post WalletState, account recover, test client
A few things at once because it was faster to get a demo out the door. Skipping most test implementation though I made failing stubs so I know what to fill in later.

* Get/Post WalletState
* downloadKey/email so that a second client can log in, and/or recover from lost client
* Test client in Python to demonstrate the above
* Organize into packages
2022-01-04 16:07:23 -05:00