{"id":20060647,"url":"https://github.com/oasisprotocol/sgx-driver-kmod","last_synced_at":"2026-06-09T19:31:21.640Z","repository":{"id":103001263,"uuid":"377218445","full_name":"oasisprotocol/sgx-driver-kmod","owner":"oasisprotocol","description":"Fedora package for the legacy out-of-tree Intel SGX Linux driver","archived":false,"fork":false,"pushed_at":"2021-06-23T15:25:34.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-02T10:14:21.029Z","etag":null,"topics":["driver","fedora","intel","kernel","module","package","rpm","sgx"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oasisprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-15T15:55:55.000Z","updated_at":"2021-06-23T15:25:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c880291-765b-435b-aac8-5f917ce7b0ba","html_url":"https://github.com/oasisprotocol/sgx-driver-kmod","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oasisprotocol/sgx-driver-kmod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Fsgx-driver-kmod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Fsgx-driver-kmod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Fsgx-driver-kmod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Fsgx-driver-kmod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oasisprotocol","download_url":"https://codeload.github.com/oasisprotocol/sgx-driver-kmod/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Fsgx-driver-kmod/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34123171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["driver","fedora","intel","kernel","module","package","rpm","sgx"],"created_at":"2024-11-13T13:16:10.629Z","updated_at":"2026-06-09T19:31:21.621Z","avatar_url":"https://github.com/oasisprotocol.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fedora Package for the Legacy Intel SGX Linux Driver\n\n| Package         | Copr build status                                                              |\n|:---------------:|:------------------------------------------------------------------------------:|\n| sgx-driver-kmod | [![sgx-driver-kmod build status][sgx-driver-kmod-badge]][sgx-driver-kmod-link] |\n| sgx-driver      | [![sgx-driver build status][sgx-driver-badge]][sgx-driver-link]                |\n\nThis repository provides [Fedora] kernel module packages for the legacy\n(out-of-tree) [Intel SGX Linux Driver].\n\nAfter many years of work, the Intel SGX support was [merged into the mainline\nLinux kernel in version 5.11][upstream-5.11].\nHowever, the ABI of the mainline SGX kernel support has diverged from the legacy\n(out-of-tree) driver, so it will take applications some time to migrate. Hence,\nthe need for the legacy driver to be packaged.\n\nThe kernel module package follows the [Kmods2 standard].\n\n## Installation\n\nFirst, enable usage of [tadej/sgx-driver-kmod Copr repository][copr-repo]:\n\n```\nsudo dnf copr enable tadej/sgx-driver-kmod\n```\n\nThen install the driver with:\n\n```\nsudo dnf install sgx-driver\n```\n\nThis will pull in 2 packages\n\n- `sgx-driver`: userland package (documentation, license),\n- `akmods-sgx-driver`: kernel module package that automatically builds the\n  driver for the currently used kernel during system's boot.\n\n## Validating Installation\n\nTo verify that the Intel SGX Linux driver has been properly installed and is\nworking, you can use the `sgx-detect` tool from the [sgxs-tools] Rust package.\n\nThere are no pre-built packages for it, so you will need to compile it yourself.\n\n_NOTE: The sgxs-tools package must be compiled with a nightly version of the\nRust toolchain since they use the `#![feature]` macro._\n\n### Install Dependencies\n\nMake sure you have the following installed on your system:\n\n- [GCC].\n- [Protobuf] compiler.\n- [pkg-config].\n- [OpenSSL] development package.\n\nYou can install them by running:\n\n```\nsudo dnf install gcc protobuf-compiler pkg-config openssl-devel\n```\n\n### Install Rust Nightly\n\nThe current [recommended way to install Rust nightly on Fedora][\nfedora-rust-nightly] is to use the [rustup] tool.\n\n_NOTE: rustup cannot be installed alongside a distribution packaged Rust\nversion. You will need to remove it (if it's present) before you can start using\nrustup._\n\nInstall it by running:\n\n```\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n```\n\n_NOTE: If you want to avoid directly executing a shell script fetched the\ninternet, you can also [download `rustup-init` executable for your platform][\nrustup-init-download] and run it manually. This will run `rustup-init` which\nwill download and install the latest stable version of Rust on your system._\n\nInstall the nightly version of the Rust toolchain with:\n\n```\nrustup install nightly\n```\n\n### Build and Install sgxs-tools\n\n```\ncargo +nightly install sgxs-tools\n```\n\n### Run sgx-detect Tool\n\nAfter the installation completes, run the `sgx-detect` tool to make sure\neverything is set up correctly.\n\nWhen the SGX driver is properly installed, you should see the green ✔ for the\n`SGX kernel device (/dev/isgx)` line.\n\n[sgx-driver-kmod-badge]:\n  https://copr.fedorainfracloud.org/coprs/tadej/sgx-driver-kmod/package/sgx-driver-kmod/status_image/last_build.png\n[sgx-driver-kmod-link]:\n  https://copr.fedorainfracloud.org/coprs/tadej/sgx-driver-kmod/package/sgx-driver-kmod/\n[sgx-driver-badge]:\n  https://copr.fedorainfracloud.org/coprs/tadej/sgx-driver-kmod/package/sgx-driver/status_image/last_build.png\n[sgx-driver-link]:\n  https://copr.fedorainfracloud.org/coprs/tadej/sgx-driver-kmod/package/sgx-driver/\n[Fedora]: https://getfedora.org/\n[Intel SGX Linux Driver]: https://github.com/intel/linux-sgx-driver\n[upstream-5.11]:\n  https://www.phoronix.com/scan.php?page=news_item\u0026px=Intel-SGX-Linux-5.11\n[Kmods2 standard]: https://rpmfusion.org/Packaging/KernelModules/Kmods2\n[copr-repo]: https://copr.fedorainfracloud.org/coprs/tadej/sgx-driver-kmod/\n[sgxs-tools]: https://lib.rs/crates/sgxs-tools\n[GCC]: http://gcc.gnu.org/\n[Protobuf]: https://github.com/protocolbuffers/protobuf\n[pkg-config]: https://www.freedesktop.org/wiki/Software/pkg-config\n[OpenSSL]: https://www.openssl.org/\n[fedora-rust-nightly]:\n  https://github.com/developer-portal/content/blob/master/tech/languages/rust/further-reading.md#other-useful-links\n[rustup]: https://rustup.rs/\n[rustup-init-download]:\n  https://rust-lang.github.io/rustup/installation/other.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foasisprotocol%2Fsgx-driver-kmod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foasisprotocol%2Fsgx-driver-kmod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foasisprotocol%2Fsgx-driver-kmod/lists"}