-
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-clito returnResulteverywhere- move most
Clicode frommain.rstolib.rs - add
pub enum CliResultOkandpub enum CliError - most changes are in
perform_trusted_operation/send_request/etc to expose anErrorinstead 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_ucryptoby an impl that usesrsa+sha2+randcf the fork[NOTE: REALLY WIP] - a
[patch.crates-io] wasmtimeand 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