-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hello,
First sorry for opening an Issue, but I did not know where to put the following (no discussion enabled?). I am opening this mostly for tracking, and to maybe help other people find this code in the future.
Long story short: I have been trying to run integritee-cli
on mobile(ie an Android app), and it seems to be working! [NOTE: WIP, not prod-ready!].
The results are there.
It was not too much work:
- refactor
integritee-cli
to returnResult
everywhere- move most
Cli
code frommain.rs
tolib.rs
- add
pub enum CliResultOk
andpub enum CliError
- most changes are in
perform_trusted_operation
/send_request
/etc to expose anError
instead returningNone
- move most
Then on the Android project:
- a
[patch."https://github.com/apache/teaclave-sgx-sdk.git"]
sgx_crypto_helper
Which replacessgx_tcrypto
/sgx_ucrypto
by an impl that usesrsa
+sha2
+rand
cf the fork[NOTE: REALLY WIP] - a
[patch.crates-io] wasmtime
and one-liner fix cf this fork[NOTE: REALLY WIP too]
Note that both of those are definitely PoC-level; as in "make sure it can run an Android" and I will see later to clean it up.
If you are interested, I could find some time to clean up the code and make a proper PR?
Maybe at least for integritee-cli
at first?
Metadata
Metadata
Assignees
Labels
No labels