-
Notifications
You must be signed in to change notification settings - Fork 64
Add demo projects for Web3 scenarios #150
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
Conversation
Thanks @DemesneGH for this PR. It's really nice to see real world use-cases supported upstream. Care to write some tests for this project? |
Actually during my development, I will use git path for teaclave dependencies, it's more convenient as can be use cross my team (and we use no_std). cargo add optee_teec --git https://github.com/apache/incubator-teaclave-trustzone-sdk.git --branch main And in cargo it will: [package]
name = "demo"
version = "0.1.0"
edition = "2021"
[dependencies]
optee-teec = { git = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git", branch = "main", version = "0.2.0" } |
|
Agree that's better for development. In case of deployment it's better to use released version of OP-TEE crates here: https://crates.io/crates/optee-teec @DemesneGH is releasing new version of crates still on your ToDo list? |
Yes it is. Let me figure out the release process on |
@mssun Could you help to add my account as the owner of these 5 crates?: https://crates.io/search?q=optee- Seems the operation is: |
@ivila BTW could you share some information about what your team is working on with this SDK, such as the specific scenario? We're gathering real world use cases and would greatly appreciate your input. |
Done. Please check and let me know if it's okay. |
It works, thanks! @mssun |
@DemesneGH Sorry I miss your response, we are using it for trusty computation, for example, PIR(private information retrieval), deep learning. We used to develop by C, and it's painful as we always met problem like memory leak or memory fault(use after free), use teaclave really helps a lot. |
@ivila Thanks for your insights, issues, and PRs over the past few days. We really need polish the Rust SDK better for real-world use cases. Please feel free to discuss any problems you encounter with us. |
Release 0.2.0 for 6 The crates will be updated accordingly with each future release (the next planned release is |
- Transaction Signing: Signing Ethereum transactions without exposing private | ||
keys to the normal world. | ||
- Key Erase: Erasing keys when they are no longer needed. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add
- Security assumptions for this example if possible.
- Disclaimers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doc updated, please check, thanks!
|
||
Ok(proto::CreateWalletOutput { | ||
wallet_id, | ||
mnemonic, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please highlight the security assumption and potential risks for returning mnemonic in this sample TA.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc updated
- eliminate unwrap(); - sync ta_static.rs from a6b5cfb
This PR introduces a new
projects/
directory dedicated to demo projects that showcase real-world applications. These projects are more complex and feature-rich than the examples in theexamples/
directory.Additionally, we are releasing a basic ETH wallet project for the Web3 scenario.
As outlined in
projects/README.md
, our goal is to provide developers with practical reference implementations that demonstrate how to effectively use the SDK in real-world scenarios. Currently, we are focusing on Web3-related projects, with plans to expand to additional scenarios in the future.We believe these demo projects will be valuable resources for developers looking to build TAs tailored to real-world requirements.