-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(mpl;Rust): bump mpl to include rust input validation, aes-192 t…
…ests (#722)
- Loading branch information
1 parent
1c4d1c4
commit bea3f29
Showing
12 changed files
with
103 additions
and
74 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
## 0.2.0 (2024-12-18) | ||
|
||
### Fixes | ||
- Support input validation | ||
|
||
### Maintenance | ||
- Add version branch key example | ||
|
||
## 0.1.0 (2024-12-09) | ||
|
||
Initial launch of the AWS Encryption SDK for Rust. |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
## Building the AWS Encryption SDK for Rust from source | ||
|
||
To build, the AWS Encryption SDK requires the most up to date version of [Dafny](https://github.com/dafny-lang/dafny) on your PATH. | ||
|
||
You will also need to ensure that you fetch all submodules using either `git clone --recursive ...` when cloning the repository or `git submodule update --init` on an existing clone. | ||
|
||
To setup your project to use the AWS Encryption SDK in Rust, run: | ||
|
||
``` | ||
cd AwsEncryptionSDK | ||
# Polymorph smithy to Rust | ||
make polymorph_rust | ||
# Transpile Dafny to Rust | ||
make transpile_rust | ||
``` | ||
|
||
### (Optional) Set up the AWS Encryption SDK to work with AWS KMS | ||
|
||
If you set up the AWS Encryption SDK to use the AWS KMS Keyring, | ||
the AWS Encryption SDK will make calls to AWS KMS on your behalf, | ||
using the appropriate AWS SDK. | ||
|
||
However, you must first set up AWS credentials for use with the AWS SDK. | ||
|
||
## Testing the AWS Encryption SDK for Rust | ||
|
||
### Configure AWS credentials | ||
|
||
To run the test suite you must first set up AWS credentials for use with the AWS SDK. | ||
This is required in order to run the integration tests, which use a KMS Keyring against a publicly accessible KMS CMK. | ||
|
||
### Run the tests | ||
|
||
Run the test suite with: | ||
|
||
``` | ||
cd AwsEncryptionSDK | ||
make test_rust | ||
``` | ||
|
||
Run tests on examples, to ensure they are up to date: | ||
|
||
``` | ||
cd AwsEncryptionSDK/runtimes/rust/ | ||
cargo test --examples | ||
``` | ||
|
||
Please note that tests and test vectors require internet access and valid AWS credentials, since calls to KMS are made as part of the test workflow. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,5 @@ src/types/ | |
src/uuid.rs | ||
src/wrapped.rs | ||
src/wrapped/ | ||
src/validation.rs | ||
target |
This file contains 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
This file contains 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
Submodule mpl
updated
from b5c352 to 23650a