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

Failed to reproduce confidential-ml example #282

Open
jinbpark opened this issue Mar 13, 2024 · 1 comment
Open

Failed to reproduce confidential-ml example #282

jinbpark opened this issue Mar 13, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jinbpark
Copy link
Collaborator

jinbpark commented Mar 13, 2024

error log (when trying to run the certifier service)

$ <terminal-1: certifier-service> ./run.sh x86_64 193.168.10.15
....
VerifySignedClaim: Time violation
Can't verifiy signature

reported from Guan, Mingyu/mingyu.guan@gatech.edu

@jinbpark jinbpark added the bug Something isn't working label Mar 13, 2024
@jinbpark jinbpark self-assigned this Mar 13, 2024
@jinbpark
Copy link
Collaborator Author

This is a temporal solution:

It works only for "How to test with simulated enclave (no actual hardware TEE) on x86_64" in code_model.md.

I found that getting "How to test with Islet" to work requires more work. I'll inform you after it gets done.
Also, after solving the issue regarding "How to test with Islet", I'll release a new docker image.

:: Solution

data.zip

  1. Go into the docker terminal, uncompress the attached data.zip, and copy the uncompressed files to /islet/examples/confidential-ml/certifier-data/ (overwrite)
  2. Edit /islet/third-party/certifier/src/cc_helpers.c as follows.
void secure_authenticated_channel::server_channel_accept_and_auth(
      void (*func)(secure_authenticated_channel&)) {
    // accept and carry out auth
+  SSL_CTX_set_verify(SSL_get_SSL_CTX(ssl_), SSL_VERIFY_PEER, NULL);
    int res = SSL_accept(ssl_);
}
  1. Follow the instructions in "How to test with simulated enclave (no actual hardware TEE) on x86_64"
    N.B. you have to run "build.sh" for all apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant