apache / apache/teaclave-sgx-sdk

Local attestation - App written in Rust

Open
#328 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.2k
Forks
268
PR merge metrics
No merged PRs in 30d

Description

There are a bunch of function that I need from
```
extern crate sgx_tstd as std;
```

within the enclaves.

Adding it as a dependency to the Cargo file of each enclave causes a dependency clash. How can I use the common attestation dependency so that I only import these functions once?

e.g error:

```
error: cannot find macro `println` in this scope
--> src/lib.rs:33:5
|
33 | println!("testing that this gets imported");
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Cargo file for each enclave and the `extern crate sgx_tstd as std;` usage, then inspect `src/lib.rs` at the failing `println!` call. Determine whether the shared attestation dependency can provide the needed functions without a dependency clash; done means the enclave code compiles and the macro is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.