Commit graph

19 commits

Author SHA1 Message Date
Daniel Krol f15875c4a6 Verify account endpoint 2022-07-26 16:36:57 -04:00
Daniel Krol ade526f4f9 Create environmental var package 2022-07-23 19:03:51 -04:00
Daniel Krol f10cc8aa26 Salt Seed, used to generate secrets on client 2022-07-21 19:10:16 -04:00
Daniel Krol 55686cb7b5 Change module name to new repo account 2022-07-11 22:14:53 -04:00
Daniel Krol 6646e9a4f9 validate() functions return error messages 2022-07-11 09:42:08 -04:00
Daniel Krol bce47979f6 Comments, remove some old junk 2022-07-06 13:00:23 -04:00
Daniel Krol 3d492d8b86 Update API: PostWallet no longer returns a wallet 2022-06-23 15:22:31 -04:00
Daniel Krol a6d41df4e4 Simplify expectErrorString 2022-06-22 11:37:03 -04:00
Daniel Krol c6ef525f7c Oops, missed fmt 2022-06-22 11:06:05 -04:00
Daniel Krol e0f847a381 Basic validation checks in error tests (just to make sure validation functions are called) 2022-06-21 19:48:32 -04:00
Daniel Krol 39015963e6 wallet request validation test. loopify auth request validation test. 2022-06-21 19:27:54 -04:00
Daniel Krol 408a4817dc Test validation errors for get/post wallet 2022-06-21 18:25:22 -04:00
Daniel Krol db1c55dff0 TestServerPostWallet 2022-06-21 16:59:32 -04:00
Daniel Krol d38fdf0d11 Axe function we folded into other function 2022-06-21 11:56:32 -04:00
Daniel Krol 1f4bf9da6d Add errors to GetWallet test 2022-06-21 11:52:03 -04:00
Daniel Krol 8ba482521f Get server/wallet test ready for loop with variations 2022-06-20 20:47:58 -04:00
Daniel Krol 322e4d38f5 Improve a few tests. 2022-06-20 18:10:54 -04:00
Daniel Krol 9ddf00d3f3 Test getWallet (via handleWallet) 2022-06-19 18:54:59 -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
Renamed from server/wallet_state_test.go (Browse further)