Skip to content
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

Open Enclave SDK users can verify Windows SDK binaries are built from audited OSS code #371

Open
CodeMonkeyLeet opened this issue Jun 27, 2018 · 2 comments
Assignees
Labels
build Issue is related to the build system documentation Issue describes the need for updated or additional documentation for the repo or SDK security Issue impacts the security of the Open Enclave SDK story Issue describes a user scenario to be enabled. Unit of prioritization for project planning. triaged This label classifies an issue/PR as having been triaged. windows Issue has to do with supporting Open Enclave on Windows
Milestone

Comments

@CodeMonkeyLeet
Copy link
Contributor

A key reason to open source all of the Open Enclave code is to create transparency and trust that there is not subversive or flawed code running in the enclave. Consumers of the SDK need a way to verify that the binaries and libraries are actually built from the source code that is audited. This requires quite a few things:

  • The SDK package (e.g. nuget on Windows) must be signed
  • All libraries and binaries in the SDK must have a cryptographic hash (SHA-256) documented for it
    • For the Windows SDK specifically, PE binaries should be Authenticode signed, and we may also wish to distribute a .cat file signature for other files such as libraries that do not support embedded signatures.
  • The version of the code for any drop of the SDK must be explicitly tagged so that the build can be exactly recreated.
  • The exact versions of all the tools and library dependencies that go into building that SDK version must be documented.
    • Ideally, there is an automated script that will set up a clean build environment with all the dependency tools and library packages and execute the build with the expected build options.
    • Windows may need additional tooling to generate hashes over the build output (where Linux may rely on OpenSSL command line tools by default)
@CodeMonkeyLeet CodeMonkeyLeet added story Issue describes a user scenario to be enabled. Unit of prioritization for project planning. documentation Issue describes the need for updated or additional documentation for the repo or SDK security Issue impacts the security of the Open Enclave SDK labels Jun 27, 2018
@CodeMonkeyLeet CodeMonkeyLeet added this to the Future.Windows milestone Jun 27, 2018
@CodeMonkeyLeet CodeMonkeyLeet added this to Backlog in Public preview via automation Jun 27, 2018
@CodeMonkeyLeet CodeMonkeyLeet added the windows Issue has to do with supporting Open Enclave on Windows label Nov 6, 2018
@CodeMonkeyLeet CodeMonkeyLeet removed this from the Future.Windows milestone Nov 6, 2018
@CodeMonkeyLeet CodeMonkeyLeet removed this from Backlog in Public preview Nov 6, 2018
@CodeMonkeyLeet CodeMonkeyLeet added this to the Future.Unspecified milestone Nov 7, 2018
@lilyfang lilyfang added the build Issue is related to the build system label Nov 10, 2018
@lilyfang lilyfang assigned johnkord and lilyfang and unassigned johnkord Nov 10, 2018
@CodeMonkeyLeet CodeMonkeyLeet added this to Backlog in Security Mar 21, 2019
@CodeMonkeyLeet
Copy link
Contributor Author

Triage: Not for v0.7.

@radhikaj radhikaj added the triaged This label classifies an issue/PR as having been triaged. label Feb 23, 2020
@radhikaj
Copy link
Contributor

@yakman2020 Please provide an update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issue is related to the build system documentation Issue describes the need for updated or additional documentation for the repo or SDK security Issue impacts the security of the Open Enclave SDK story Issue describes a user scenario to be enabled. Unit of prioritization for project planning. triaged This label classifies an issue/PR as having been triaged. windows Issue has to do with supporting Open Enclave on Windows
Projects
No open projects
Security
  
Backlog
Windows Support
  
Backlog
Development

No branches or pull requests

6 participants