-
Notifications
You must be signed in to change notification settings - Fork 231
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
Add one-time authentication functions #101
Conversation
Thanks for working on this! It needs tests and documentation before this is merge ready though. |
Before doing that, do you see anything bad in the suggested API? |
I think the API is probably fine, but I'm not super familiar with one-time-authenitcators so I'd love to see the docs to make sure the whole thing makes sense end-to-end :-) |
It looks like the tests are failing due to some flake8 issues right now. |
Closing since we let this sit around for over 2 years (ugh, sorry about that). If you're still interested in landing this please rebase and I'll prioritize reviewing it. |
This exposes NaCL's one-time authentication functions under
nacl.onetime
. Since by definition this is one-time authentication, I avoided classes (and hence state) in the top-level API for now, but am very much open for comments or suggestions if there is any upstream interest.