-
Notifications
You must be signed in to change notification settings - Fork 111
Keysets V2 #702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keysets V2 #702
Conversation
ok300
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good.
Some tests would be nice as well, converting to and from byte arrays of different lengths.
… with the provided `verify_id`
|
So @ok300 @thesimplekid I thought we could create a new |
Yes I think that makes sense. It's similar to how we handled the transition from TokenV3 to TokenV4. |
|
Sounds good. Maybe |
|
merging main should fix the current CI issues, I updated the stable rust version. |
|
I think this is good. |
|
Do we want to merge this? |
Description
Adding support for keysets v2.
CHANGED
Fromtrait implementation forIdwith functionsv1_from_keys,v2_from_data.Id, id field:generate,generate_from_xpriv,create_new_keyset) take 2 additional arguments: an optionalfinal_expiryand aversionto identify the correct version.KeySetVersion::Version01(creating new keysets defaults to the newer one).TODO
ShortIdV2for short IDs in tokensChecklist
just final-checkbefore committing