Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Nitro enclave environment arguments are not documented #197

Open
tomtau opened this issue Nov 3, 2021 · 0 comments
Open

Problem: Nitro enclave environment arguments are not documented #197

tomtau opened this issue Nov 3, 2021 · 0 comments
Assignees

Comments

@tomtau
Copy link

tomtau commented Nov 3, 2021

Right now, the default Dockerfile executes the enclave without any arguments: https://github.com/crypto-com/tmkms-light/blob/main/Dockerfile.nitro#L246

With that Dockerfile, default choices will be used: https://github.com/crypto-com/tmkms-light/blob/main/providers/nitro/nitro-enclave/src/main.rs#L15

  1. the enclave code will listen on the vsock port 5050 for the config;
  2. the enclave code will listen on the vsock port 6050 for forwarding the logging information;
  3. the enclave code will use the INFO log level.

This may be confusing to node operators who may expect the enclave code would follow their configuration provided in the helper code on their host (in the toml configuration or from command line arguments).

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

No branches or pull requests

6 participants