Skip to content

Commit

Permalink
chore: add extra startup information to unseal and admin enclaves
Browse files Browse the repository at this point in the history
This eases testing and debugging.

Signed-off-by: Harald Hoyer <[email protected]>
  • Loading branch information
haraldh committed Sep 4, 2024
1 parent 537521f commit 488dcfc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/container-vault-admin-sgx-azure/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ pkgs.lib.tee.sgxGramineContainer {
packages = [ teepot.teepot.tee_vault_admin ];
entrypoint = "${teepot.teepot.tee_vault_admin}/bin/tee-vault-admin";

extraCmd = "echo \"Starting ${container-name}\"; gramine-sgx-sigstruct-view app.sig";

isAzure = true;

manifest = {
Expand Down
3 changes: 3 additions & 0 deletions packages/container-vault-unseal-sgx-azure/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ pkgs.lib.tee.sgxGramineContainer {
vat.vault-auth-tee.sha
teepot.teepot.tee_vault_unseal
];

entrypoint = "${teepot.teepot.tee_vault_unseal}/bin/tee-vault-unseal";

extraCmd = "echo \"Starting ${container-name}\"; gramine-sgx-sigstruct-view app.sig";

manifest = {
loader = {
log_level = "error";
Expand Down

0 comments on commit 488dcfc

Please sign in to comment.