-
Notifications
You must be signed in to change notification settings - Fork 22
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
Support cryptography module #65
Conversation
It seems Cargo doesn't support dynamic patching for dependencies. So if Tongsuo is selected as the underlying adaptor, one must run the following command to patch
Or, just uncomment the following lines in Cargo.toml:
and then:
|
To use Tongsuo as the underlying cryptography library, the user needs to set a |
b6982d6
to
350bc7b
Compare
Support of public key and digest algorithms will be in a separate pull request. |
* fix netlify.toml
This is prepared for later usage of crypto adaptor module and can also suppress compilation warnings when using latest rustc compiler.
All have been resolved. |
Able to merge subject to CIs are green |
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.
LGTM
This pull request implements the
rusty_vault::modules::crypto
module and relevant cryptography adaptor mechanism. In every build of RustyVault, users can select one of the supported adaptors as the real cryptography operations provider in RustyVault.A set of new feature names are added in Cargo and they can be specified during
cargo build
by:If no adaptor is explicitly configured, then the OpenSSL adaptor is selected by default - for the compatibility considerations.