-
Notifications
You must be signed in to change notification settings - Fork 116
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
Refactor api #6
Refactor api #6
Conversation
1198bce
to
56b36f5
Compare
It would be nice to have a summary of the changes (and even nicer to have smaller commits with clean changesets). |
It's still in progress, it will soon be added to the summary and the changelog. Next step is to create some helpers for the most common encryption/decryption/signing methods. |
Nice!
+917 −1,140 commits are hard to review. Making clearly separated commits helps a lot, and is often possible by forcing yourself to do one thing at a time (e.g. introduce one type per commit, or introduce the new type in one commit and start using it in subsequent commits). I agree it does require to put some thought into it before starting to the work, however for a security-related library IMHO it's worth it.
Looking forward to having a look at the API. |
d548cd7
to
b1e6406
Compare
These functions shouldn't be used with user-provided passwords, as they don't do any key-stretching.
It also would be nice to refactor |
@L11r I changed the name/email parameters to be more flexible, Expiration date is for another PR, as I would consider better adding another function with explicit expiration for it. |
No description provided.