You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by haerdib <no...@github.com.INVALID> on 2021/08/10 14:37:15 UTC
[apache/incubator-teaclave-sgx-sdk] Update getrandom-sgx to v2.3
(#350)
We're currently trying to update our substrate dependencies to v4.0.0-dev (see issue https://github.com/integritee-network/worker/issues/346). But substrate now depends on hashbrown 0.11.0 which itself depends on getrandom 2.3 (same as in issue #326). We're currently in the development phase, so having our own getrandom fork and keeping it up to date all the time is not yet necessary from a security perspective. A simple patch to your [sgx-getrandom](https://github.com/mesalock-linux/getrandom-sgx) crate would be enough.
Would it be possible to update [sgx-getrandom](https://github.com/mesalock-linux/getrandom-sgx) to v2.3 so we can apply the patch?
Thanks alot for your help so far!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/350
Re: [apache/incubator-teaclave-sgx-sdk] Update getrandom-sgx to v2.3
(#350)
Posted by clangenb <no...@github.com.INVALID>.
This is a rust-toolchain incompatibility, i.e., this feature was most-likely stabilized meanwhile. Therefore, the feature does not need to be activated explicitly.
You should run everything with the same toolchain as advised in teaclave.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/350#issuecomment-914094948
Re: [apache/incubator-teaclave-sgx-sdk] Update getrandom-sgx to v2.3
(#350)
Posted by haerdib <no...@github.com.INVALID>.
I have forked & rebased on newest getrandom master commit: https://github.com/integritee-network/getrandom-sgx/pull/1 and I'd love to create a PR to getrandom-sgx. But I can't build it yet (& tests aren't passing) due the sampleenclave encountering the following errors:
```zsh
error[E0557]: feature has been removed
--> /home/bhaerdi/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/7c07ce0/sgx_unwind/lib.rs:24:12
|
24 | #![feature(unwind_attributes)]
| ^^^^^^^^^^^^^^^^^ feature has been removed
|
= note: use the C-unwind ABI instead
error: cannot find attribute `unwind` in this scope
--> /home/bhaerdi/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/7c07ce0/sgx_unwind/libunwind.rs:65:7
|
65 | #[unwind(allowed)]
| ^^^^^^
```
Do you know what I'm missing here?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/350#issuecomment-898336217