rust-sgx | The Fortanix Rust Enclave Development Platform

 by   fortanix Rust Version: dcap-ql_v0.3.5 License: MPL-2.0

kandi X-RAY | rust-sgx Summary

kandi X-RAY | rust-sgx Summary

rust-sgx is a Rust library. rust-sgx has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

The Fortanix Rust EDP is the preferred way to write Intel SGX enclaves from scratch. Looking for the in-enclave source code? Check out the rust-lang/rust repository.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              rust-sgx has a low active ecosystem.
              It has 377 star(s) with 91 fork(s). There are 20 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 104 open issues and 85 have been closed. On average issues are closed in 274 days. There are 25 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of rust-sgx is dcap-ql_v0.3.5

            kandi-Quality Quality

              rust-sgx has 0 bugs and 0 code smells.

            kandi-Security Security

              rust-sgx has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              rust-sgx code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              rust-sgx is licensed under the MPL-2.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              rust-sgx releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              It has 157 lines of code, 12 functions and 1 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rust-sgx
            Get all kandi verified functions for this library.

            rust-sgx Key Features

            No Key Features are available at this moment for rust-sgx.

            rust-sgx Examples and Code Snippets

            No Code Snippets are available at this moment for rust-sgx.

            Community Discussions

            QUESTION

            How do I always include a Rust dependency when linking?
            Asked 2021-Dec-01 at 04:41

            I am trying to use the Fortanix SGX framework to run libdvdcss in an enclave, but having problems with the linker.

            I created a simple FFI wrapper around libdvdcss which works fine when executing it normally on Linux (without SGX and with libdvdcss installed globally). It does not work when I run it with the target x86_64-fortanix-unknown-sgx as specified on the Getting started page, because the linker complains about many missing symbols, especially about malloc etc.

            From what I understand, the issue is that there is no libc in SGX, therefore I need to include rs-libc manually, which is basically a libc to use in SGX. The rs-libc crate contains C, ASM and also some Rust code (mostly for malloc). Thus my Cargo.toml:

            ...

            ANSWER

            Answered 2021-Dec-01 at 04:41

            Adding an extern crate rs_libc; to your crate's root should do the trick. It is mandatory that a dependency declared with extern crate must be given to the linker. In rust 2018 and above, an appropriate declaration is implicitly added to your crate by the compiler if and only if you use one or more of that crate's symbols (rust 2015 requires the extern crate be added explicitly). See the section in the rust reference for more information.

            Source https://stackoverflow.com/questions/70175641

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install rust-sgx

            You can download it from GitHub.
            Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms, so there are many builds of Rust available at any time. Please refer rust-lang.org for more information.

            Support

            We gratefully accept contributions from the community. By participating in this community, you agree to abide by Code of Conduct.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/fortanix/rust-sgx.git

          • CLI

            gh repo clone fortanix/rust-sgx

          • sshUrl

            git@github.com:fortanix/rust-sgx.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link