You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
Add functions which allows a user to prove that a certain identity was
used to create a zklogin address and link this identity to the address
(VerifiedID).
## Test Plan
Unit tests
---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.
### Type of Change (Check all that apply)
- [x] protocol change
- [x] user-visible impact
- [ ] breaking change for a client SDKs
- [x] breaking change for FNs (FN binary must upgrade)
- [x] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration
### Release notes
Add a `verify_zklogin_id` function to the SUI framework which allows
users to prove that a certain identity was used to create a zklogin
address and link this identity to their address. The function returns a
verified identity object which maybe used to authenticate towards smart
contracts. A similar function where the user only reveals who issued the
identity used to create a zklogin address, `verify_zklogin_iss` is also
added.
---------
Co-authored-by: Sam Blackshear <sam.blackshear@gmail.com>
Co-authored-by: Todd Nowacki <tmn@mystenlabs.com>
let kc_name = utf8(b"qvKbuwvu6LTnYocFPwz1EiIClFUAuMC3");
46
+
let kc_value = utf8(b"BA7SREzYLKG5opithujfrU8SFaSpKI4zezu8Vb2GBPVpZsMUpYVeXl6oEAo84ryIlbHOqrMWpI7mlTfvr7HYxiF70jdyIY4rPOOpuJIYWwN3o1olTP2");
47
+
let aud = utf8(b"munO2fnn2XnBNq5fXRmSmhC4GPL3yX4Rv9fGoECXTsmniR8dwkPTefbmLF08zh7BnVcaxriii4dEPNwzEF2puLIHmJoeuYbQxV84J9of4NRaL3IhwImVGubgPHWfMfCuGuedCdLn6KUdJsgG1");
let long_aud = utf8(b"munO2fnn2XnBNq5fXRmSmhC4GPL3yX4Rv9fGoECXTsmniR8dwkPTefbmLF08zh7BnVcaxriii4dEPNwzEF2puLIHmJoeuYbQxV84J9of4NRaL3IhwImVGubgPHWfMfCuGuedCdLn6KUdJsgG1S");
87
+
let iss = utf8(b"https://accounts.google.com");
88
+
let salt_hash = 15232766888716517538274372547598053531354666056102343895255590477425668733026u256;
0 commit comments