Cecylia Bocovich
c92a14d612
Use more descriptive error for lox proto functions
...
Request functions for protocols in the Lox library previously returned a
ProofError error type, which is not verbose enough to allow for accurate
debugging.
This commit introduces a new error enum, CredentialError, with several
types that allow for descriptive error messages.
2024-03-12 16:16:04 -04:00
onyinyang
472445a9a5
Add README for rdsys-backend-api, lox-utils and switch to lox-zkp crate
2023-11-23 11:44:05 -05:00
onyinyang
0e960d9156
Make all states serializable
2023-02-06 19:47:04 -05:00
onyinyang
993d01b712
Added results of cargo clippy --fix
2022-10-18 00:51:17 -04:00
onyinyang
d9d349d0f7
Replace big_array with serde_as, cargo fmt likes things to be alphabetical
2022-04-04 00:45:08 -04:00
onyinyang
179fea5e23
Added serialization and deserialization for all but check blockage and trust promotion
2022-04-04 00:45:08 -04:00
Ian Goldberg
b0290f5480
Complete the redeem invitation protocol
2021-05-04 17:48:40 -04:00
Ian Goldberg
a6d98dde73
The response message of the issue invitation protocol
2021-05-04 12:03:22 -04:00
Ian Goldberg
d924b98060
The request message of the issue invitation protocol
2021-05-03 19:06:05 -04:00
Ian Goldberg
654208769f
Up the max level to 4 and add the ZKP for the max number of blockages allowed in the level up protocol
2021-05-03 15:00:54 -04:00
Ian Goldberg
088071571a
Change the invites_issued attribute of the Lox credential to just count blockages instead
2021-05-03 14:27:11 -04:00
Ian Goldberg
15e9a1a72a
Remove noop migration credentials
2021-05-03 14:13:13 -04:00
Ian Goldberg
fd73286e78
Complete the level upgrade protocol
2021-05-02 21:45:15 -04:00
Ian Goldberg
aa097dc447
Change the policy for invites_remaining in the level up protocol
...
Before, the number of invitations at the new level were _added_ to a
user's credential. Now, it _replaces_ the old value.
2021-05-02 18:10:59 -04:00
Ian Goldberg
f7b3d242bb
The request message of the level upgrade protocol
2021-05-01 22:26:13 -04:00