aws / aws-nitro-enclaves-image-format

This library provides the definition of the enclave image format (EIF) file used in AWS Nitro Enclaves.
Apache License 2.0
11 stars 16 forks source link

Import from aws-nitro-enclaves-cli #4

Closed sabin-rapan closed 2 years ago

sabin-rapan commented 2 years ago

... from source code at https://github.com/aws/aws-nitro-enclaves-cli/releases/tag/v1.2.0

Signed-off-by: Sabin Rapan sabrapan@amazon.com

Issue #, if available:

Description of changes:

This allows both aws-nitro-enclaves-cli and other consumers to depend on a single source of truth for the APIs that define an EIF.

$ diff -u ../aws-nitro-enclaves-cli/eif_defs/src/eif_hasher.rs src/eif_hasher.rs
--- ../aws-nitro-enclaves-cli/eif_defs/src/eif_hasher.rs        2022-04-23 11:50:42.956474695 +0000
+++ src/eif_hasher.rs   2022-04-23 11:20:57.938533666 +0000
@@ -1,4 +1,4 @@
-// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+// Copyright 2019-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 // SPDX-License-Identifier: Apache-2.0

 #![deny(warnings)]
$ diff -u ../aws-nitro-enclaves-cli/eif_defs/src/lib.rs src/lib.rs
--- ../aws-nitro-enclaves-cli/eif_defs/src/lib.rs       2022-04-23 11:50:42.956474695 +0000
+++ src/lib.rs  2022-04-23 11:51:36.244900424 +0000
@@ -1,4 +1,4 @@
-// Copyright 2019-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+// Copyright 2019-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 // SPDX-License-Identifier: Apache-2.0

 #![deny(warnings)]

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.