Replies: 5 comments 1 reply
-
I do seem to get better results using: |
Beta Was this translation helpful? Give feedback.
-
This line in the log shows that Curl is failing somehow. Unfortunately, the Could you rebuild your example with |
Beta Was this translation helpful? Give feedback.
-
using /bin/curl https://ngrok.dev/checkFile -X POST --data-binary @/dev/attestation/quote is working as expected. Must have done something wrong .. Thanks for the attention. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if what you're doing is secure, quote usually isn't secret, but in your deployment if someone knows any valid quote from your enclave then they will be able to impersonate a connection from that enclave. This is because your server doesn't really verify the SSL client which is connecting, it's only the client verifying the server. |
Beta Was this translation helpful? Give feedback.
-
This part is not. We will add mtls plus signing verification later on( to
make sure it's our signed enclave).. i will also check Ra TLS..
…On Tue, 25 Apr 2023, 14:22 Michał Kowalczyk, ***@***.***> wrote:
I'm not sure if what you're doing is secure, quote usually isn't secret,
but in your deployment if someone knows *any* valid quote from your
enclave then they will be able to impersonate a connection from that
enclave. This is because your server doesn't really verify the SSL client
which is connecting, it's only the client verifying the server.
Please check out how our RA-TLS is constructed, it's very similar but
fixes this problem by binding the specific SSL keys to the quote.
—
Reply to this email directly, view it on GitHub
<#1304 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF3P5ZONG7GLYGHJCEPJMTXC66XJANCNFSM6AAAAAAXKZLOXA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Im having trouble getting curl working, we are launching a bash script that pulls the current sgx quote and uses curl to make a request to a webservice. Using curl just to post some small datablock works like 'hellworld'. Pulling the quote directly into curl using the pseudo file also fails.
I've tried a lot of things but are currently stuck.
Ive tried blindly rasing stack and brk size:
Content of my small script:
LOG dump
Any help will be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions