Skip to content
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

Implement the VRF for the private indices #6

Open
masomel opened this issue Mar 16, 2016 · 4 comments
Open

Implement the VRF for the private indices #6

masomel opened this issue Mar 16, 2016 · 4 comments
Assignees

Comments

@masomel
Copy link
Member

masomel commented Mar 16, 2016

Currently the server only hashes the username string. Need to implement the VUF (per the paper) and have the client verify it during lookups.

@masomel masomel added the design label Mar 16, 2016
@wbl
Copy link

wbl commented Mar 25, 2016

Do we want to use the pairing-based crypto approach on top of a vendored library? I think I can do that without too much trouble, and make a VUF library with a sane API (maybe not that Javaish).

@masomel
Copy link
Member Author

masomel commented Mar 29, 2016

Thanks for your suggestion! But the approach we prefer now is DL-based VRF. We describe a specific construction that @jcb82 designed specifically for CONIKS in Appendix A of our paper.

@masomel masomel added the crypto label Mar 31, 2016
@masomel masomel changed the title Implement the VUF for the private indices Implement the VRF for the private indices Apr 29, 2016
@liamsi
Copy link
Member

liamsi commented Oct 21, 2016

In case you can consider using an existing implementation instead: Seems like @moxie and @trevp worked on a clean Java implementation (I'm not sure yet how much or if it differs from @jcb82's construction): https://github.com/WhisperSystems/curve25519-java/blob/f596383883d19304a91caeb723323c0892feda24/common/src/main/java/org/whispersystems/curve25519/Curve25519.java
It is specified here: https://whispersystems.org/docs/specifications/xeddsa/

@masomel
Copy link
Member Author

masomel commented Oct 21, 2016

I'll definitely look into this implementation, and maybe ask Joe if he's had a chance to review it, but it would be great if we could just import it.

@liamsi liamsi self-assigned this Oct 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants