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

It not convenient to run rats-tls-client with sgx_ecdsa driver on host against rats-tls-server running in enclave #93

Open
jiazhang0 opened this issue Jul 30, 2022 · 1 comment

Comments

@jiazhang0
Copy link
Contributor

We have to do this to archive the goal:

# Build rats-tls in sgx mode to get rats-tls-server running in enclave
cmake -DRATS_TLS_BUILD_MODE="sgx" -DBUILD_SAMPLES=on -H. -Bbuild
make & make install

# Backup sgx mode programs
cp -a /usr/share/rats-tls/samples /usr/share/rats-tls/samples-sgx

# Build rats-tls in host mode to get rats-tls-client running on host
cmake -DBUILD_SAMPLES=on -H. -Bbuild
make & make install

# Have a test
cd /usr/share/rats-tls/samples-sgx
./rats-tls-server --attester sgx_ecdsa --tls openssl --crypto openssl --log-level=off &
cd /usr/share/rats-tls/samples
./rats-tls-client --verifier sgx_ecdsa

It is not convenient.

@imlk0
Copy link
Collaborator

imlk0 commented Aug 8, 2022

Dynamic libraries installed to the /usr/local/lib/rats-tls/ directory may also be overwritten, maybe we need a way to specify the installation path at compile time?

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

2 participants