Add support for ring cryptography (includes #28) - #29
Open
puiterwijk wants to merge 5 commits into
Open
Conversation
This allows implementing signing and verification with more than openssl PKey(Ref), like a TPM or AWS KMS keys (awslabs#5). It implements the abstracted methods for PKeyRef, and PKey calls out to PKeyRef. Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
Bitflags 1.3.0/1.3.1 requires Rust 1.46 to compile, and that is dragged in via the openssl package. Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This abstracts the cryptographic implementations of symmetric crypto and computing message digests. This makes it possible to fully swap out openssl with something else if that were to get implemented. Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
puiterwijk
force-pushed
the
abstract-all-crypto-ring
branch
from
August 12, 2021 08:34
a48fc5f to
fd622dd
Compare
This implements the cryptography in terms of Ring. Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
puiterwijk
force-pushed
the
abstract-all-crypto-ring
branch
from
August 12, 2021 08:35
fd622dd to
18eb13f
Compare
Contributor
Author
|
The idea behind the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This implements the cryptography in terms of Ring.
Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org
This uses the crypto flexibility from #28.