enarx icon indicating copy to clipboard operation
enarx copied to clipboard

[Feature]: Friendly error message when signature validation fails

Open rjzak opened this issue 2 years ago • 7 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

The Enarx Debian and RPM packages install a signature file at /usr/lib/enarx/enarx.sig.

When trying to run a locally-compiled Enarx binary with SGX, you get:

Error: Failed to initialize SGX enclave

Caused by:
        Operation not permitted (os error 1)

Acceptance Criteria

The error should say something like "Failed to validate this Enarx binary with signature file /usr/lib/enarx/enarx.sig"

Suggestions for a technical implementation

No response

rjzak avatar Dec 19 '22 20:12 rjzak