10. January 2023 #1105
dimakuv
started this conversation in
Meeting notes
Replies: 2 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Agenda
(please write your proposed agenda items in comments under this discussion)
Using Gramine to run Geth in SGX
Frieder Paape: presented Gramine Buildpacks 1 year ago. Today would like to present Geth (go-ethereum) running in Gramine. Also would like to introduce Patrick and Phillipp, both working on Gramine-related problems.
Geth + Gramine -- solves pre-confirmation privacy (your transaction is private to you until it is actually committed). Without privacy, somebody could see your transaction and steal your profit. But there's more to it -- if you're able to have a public pool of transactions that are not yet committed, then there is a consensus risk. (Note from Dmitrii: I am not sure I captured these correctly.)
There is also another project -- adding SGX as a 2nd factor for zero-knowledge rollup state transition proofs. (Note from Dmitrii: I didn't capture the name of that other project.)
Enabling Geth in Gramine:
flock()
syscall, but circumvented with a patch to Geth.Tried other SGX frameworks:
Future work:
flock()
implementation in Gramine.Introducing Patrik and Phillipp:
fcntl()
and POSIX locks and use them as the building blocks forflock()
? Looking at some other projects, it seems possible to useflock()
viafcntl()
. And how to go about implementing syscalls in general?flock()
on top offcntl()
, then we can analyze it and implement in the same way. But be aware -- if it's implemented by some project, doesn't mean it's correct/stable.Syscall plugins -- any possibility to have such feature in Gramine?
Other topics
We didn't have time to discuss other topics, so moving all @woju's topics to next meeting.
Beta Was this translation helpful? Give feedback.
All reactions