-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fixes issue #22 (sequential call of encryption API) #23
Conversation
- by removing the clone, cocoon has to be mutable now - all tests pass - this introduces a potential breaking change, but addresses a pretty big security risk.
- same changes in minicocoon - updated docs - removing clone
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.
Nice finding. It introduces an API incompatibility though. Need to double-check it before upgrading the crate.
@ProjectInitiative P.S.: I've drafted an advisory. Basically, I need this PR to be released first. |
Pushed requested changes |
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.
Some mut
are not needed in the examples, I will clean them up in the following commit
I did a find and replace for the docs, so that makes sense. |
Fixes issue #22