Skip to content

Add support for ring cryptography (includes #28) - #29

Open
puiterwijk wants to merge 5 commits into
awslabs:mainfrom
puiterwijk:abstract-all-crypto-ring
Open

Add support for ring cryptography (includes #28)#29
puiterwijk wants to merge 5 commits into
awslabs:mainfrom
puiterwijk:abstract-all-crypto-ring

Conversation

@puiterwijk

Copy link
Copy Markdown
Contributor

This implements the cryptography in terms of Ring.

Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org

This uses the crypto flexibility from #28.

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
puiterwijk force-pushed the abstract-all-crypto-ring branch from a48fc5f to fd622dd Compare August 12, 2021 08:34
This implements the cryptography in terms of Ring.

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
@puiterwijk
puiterwijk force-pushed the abstract-all-crypto-ring branch from fd622dd to 18eb13f Compare August 12, 2021 08:35
@puiterwijk

Copy link
Copy Markdown
Contributor Author

The idea behind the key_feature_set matrix option is that we can put in things like key_openssl_pkey,key_tpm, to test combinations of those.

@puiterwijk puiterwijk changed the title Add support for ring cryptography Add support for ring cryptography (includes #28) Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant