aws / aws-nitro-enclaves-cli

Tooling for Nitro Enclave Management
Apache License 2.0
120 stars 81 forks source link

argument parsing: add size to memory argument #492

Closed petreeftime closed 11 months ago

petreeftime commented 1 year ago

This commit adds an optional size indicator to the memory argument, to simplify declaration of memory. For example, 2G would be equivalent to 2048MiB. The reason to add this is that when using large enclave sizes, such as 2TiB, writing down the actual number requires a calculator.

~Pending: Looking at making the same change in the allocator, for the same reason.~ Will update this separately.

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