-
Notifications
You must be signed in to change notification settings - Fork 8
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
support for RFC9380 DST G1 scheme #39
Conversation
CluEleSsUK
commented
Jun 20, 2023
- refactored the IBE code to be more generalised
Created a draft of this - just realised I haven't updated the client yet, so should probably do that first, then update tlock go, then create test vectors |
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.
Overall LGTM, but these are very breaking changes for the users, since the API of the function themselves changed, no?
yes and no - the interface for encryption and decryption hasn't changed, though users who have been using |
actually wait it's still in |
- refactored the IBE code to be more generalised
* fixed some compat tests * pointed the URLs to the right places (left the fastnet ones for compat)
1cbc84d
to
6a29950
Compare
const opts = { | ||
...defaultChainOptions, | ||
chainVerificationParams: { | ||
chainHash: "52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971", |
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.
Could have added a comment with the name of the network :P
return new HttpChainClient(chain, opts) | ||
} | ||
|
||
export function nonRFCMainnetClient(): HttpChainClient { | ||
const opts = { | ||
...defaultChainOptions, | ||
chainVerificationParams: { | ||
chainHash: "dbd506d6ef76e5f386f41c651dcb808c5bcbd75471cc4eafa3f4df7ad4e4c493", |
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.
Could have added a comment with the name of the network :P
b6d496f
to
484df96
Compare
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.
LGTM