Re: helloworld build error
Zhao, Xiaonan <xiaonan.zhao@...>
I followed that wiki step by step, OE is installed in c:/openenclave, and cmake is in c:/openenclave/lib/openenclave/cmake.
Are there any causes of this error?
From: Ming-Wei Shih <mishih@...>
Sent: Saturday, April 11, 2020 12:55 AM To: oesdk@...; Zhao, Xiaonan <xiaonan.zhao@...> Subject: RE: helloworld build error
This is likely due to the environment variable is not set. Can you follow the instruction here: https://github.com/openenclave/openenclave/blob/master/docs/GettingStartedDocs/Windows_using_oe_sdk.md#configure-environment-variables-for-open-enclave-sdk-for-windows?
Thanks, Ming-Wei
Hi, dear all,
Test environment: SGX PSW: Intel(R)_SGX_Windows_x64_PSW_2.7.100.2.exe, SGX SDK: open-enclave.0.8.2.nupkg, installed path: C:\openenclave cmake version 3.16.19112601-MSVC_2
When build helloworld project, met following errors, how to solve it?
******************************************************************************************
CMake Error at CMakeLists.txt:15 (find_package): Could not find a configuration file for package "OpenEnclave" that is compatible with requested version "".
The following configuration files were considered but not accepted:
C:/openenclave/lib/openenclave/cmake/openenclave-config.cmake, version: 0.8.2 (64bit)
-- Configuring incomplete, errors occurred! See also "C:/openenclave/share/openenclave/samples/helloworld/build/CMakeFiles/CMakeOutput.log".
******************************************************************************************
Thank you, Xiaonan
|
|
Re: helloworld build error
Simon Leet
Hi Xiaonan,
Your mail doesn't really contain enough information for us to help troubleshoot this, but the end result looks very similar to https://github.com/openenclave/openenclave/issues/2849. Can you ensure that you're running the x64 version of the Build Tools Command prompt? If you are seeing a different error, can you file an issue with your detailed errors at https://github.com/openenclave/openenclave/issues? Thanks, Simon |
|
OpenEnclave 0.9.0 Release
Radhika Jandhyala
Hi,
Open Enclave version 0.9.0 will soon be published, and we want to send out some release candidate packages (for Windows Server 2016 and 2019, Ubuntu 16.04/18.04) for pre-release testing. You can find the release candidate packages on GitHub below under the v0.9.0-rc1 tag: https://github.com/openenclave/openenclave/releases<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenenclave%2Fopenenclave%2Freleases&data=02%7C01%7Cradhikaj%40microsoft.com%7C9b906ec7b73c4fa7da1808d7a0826790%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637154354265332253&sdata=e0DQ36Qk5d2DJ3DrkM0ZjYzzPODpk8%2BjfpqD3tja1Ls%3D&reserved=0> Please feel free to test these packages and let us know if you come across any issues. Thank you so much for your help! To the Committers of the OE SDK: Please let us know if we have missed anything in the release notes. We should update our CHANGELOG if so. Thank you so much to everyone in helping us drive and deliver this release! Please use our GitHub repo to report any issues that you may come across in your use of the SDK! Thanks, Radhika Release notes: ------------------ Added * Support for Simulation Mode on Windows. Simulation mode only runs on systems with SGX enabled. * Support transition_using_threads EDL attribute for ecalls in oeedger8r. OE SDK now supports both switchless OCALLs and ECALLs. * Published corelibc headers required by oeedger8r-generated code. Disclaimer: these headers do not make any guarantees about stability. They are intended to be used by generated code and are not part of the OE public API surface. * Experimental support for Windows Server 2019. * Preview versions of VSCode and Visual Studio Extensions for OE are now part of the github repo. * Experimental support for enclave file system APIs on Windows host. * oelibcxx now supports up to std=c++17. Please see docs/LibcxxSupport.md for more details. * COMPILE_SYSTEM_EDL build flag. This is on by default and will compile system OCalls and ECalls into OE libraries as before. If it is set to off, each enclave application must import the ECalls/OCalls it needs into its own EDL file from {OE_INSTALL_PATH}/include/openenclave/edl. Changed * Moved oe_asymmetric_key_type_t, oe_asymmetric_key_format_t, and oe_asymmetric_key_params_t to bits/asym_keys.h from bits/types.h. * Windows host libraries in the Open Enclave NuGet package have been compiled with /WX /W3 enabled. * Attestation plugin APIs in include/openenclave/attestation/plugin.h are marked experimental. Fixed * Fix #2828<https://github.com/openenclave/openenclave/issues/2828> which removes an explicit host side dependency on libsgx-urts on Linux. * Fix #2607<https://github.com/openenclave/openenclave/issues/2607> so that libmbedcrypto now includes mbedtls_hkdf(). * Fix #2786<https://github.com/openenclave/openenclave/issues/2786> so that CXX is always TRUE in add_enclave_sgx() and add_enclave_optee(). * Fix #2544<https://github.com/openenclave/openenclave/issues/2544> and #2264<https://github.com/openenclave/openenclave/issues/2264>. This removes oesign's dependency on libsgx_enclave_common and libsgx_dcap_ql. * Fix #2661<https://github.com/openenclave/openenclave/issues/2661> which caused inconsistent code generation in oeedger8r. Removed * Removed oe-gdb script which has been deprecated since v0.6. Use oegdb instead. Security * Update mbedTLS to version 2.16.6. Refer to the 2.16.5<https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released> and 2.16.6<https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.6-and-2.7.15-released> release notes for the set of issues addressed. Deprecated * oehostapp is being deprecated from cmake targets. Use oehost instead. See #2595<https://github.com/openenclave/openenclave/issues/2595>. * In the next release (v0.10), system EDL will no longer be compiled into OE libraries by default (COMPILE_SYSTEM_EDL will be OFF by default). See the [system EDL opt-in document] (docs/DesignDocs/system_ocall_opt_in.md#how-to-port-your-application) for more details on how to rebuild the SDK to match this behavior and for guidance on porting your application to the new model. |
|
Re: OpenEnclave 0.9.0 Release
Radhika Jandhyala
Hello everyone,
The 0.9.0 version of the Open Enclave SDK has been released. You can find the release page for v0.9.0 in the link below, where you can download the packages/sources and find the changelog: https://github.com/openenclave/openenclave/releases/tag/v0.9.0 For the Ubuntu 16.04 and 18.04 packages: they will be published to the production packages.microsoft.com APT repo (for each distro) tomorrow. For the Windows NuGet packages: They will be on nuget.org next week, but for now you can download the NuGet packages available in the "Assets" field in release link above. Thank you so much to everyone in helping us drive and deliver this release! Please use our GitHub repo to report any issues that you may come across in your use of the SDK! Thanks, Radhika From: Radhika Jandhyala Sent: Monday, April 20, 2020 6:43 PM To: oesdk@... Subject: OpenEnclave 0.9.0 Release Hi, Open Enclave version 0.9.0 will soon be published, and we want to send out some release candidate packages (for Windows Server 2016 and 2019, Ubuntu 16.04/18.04) for pre-release testing. You can find the release candidate packages on GitHub below under the v0.9.0-rc1 tag: https://github.com/openenclave/openenclave/releases<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenenclave%2Fopenenclave%2Freleases&data=02%7C01%7Cradhikaj%40microsoft.com%7C9b906ec7b73c4fa7da1808d7a0826790%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637154354265332253&sdata=e0DQ36Qk5d2DJ3DrkM0ZjYzzPODpk8%2BjfpqD3tja1Ls%3D&reserved=0> Please feel free to test these packages and let us know if you come across any issues. Thank you so much for your help! To the Committers of the OE SDK: Please let us know if we have missed anything in the release notes. We should update our CHANGELOG if so. Thank you so much to everyone in helping us drive and deliver this release! Please use our GitHub repo to report any issues that you may come across in your use of the SDK! Thanks, Radhika Release notes: ------------------ Added * Support for Simulation Mode on Windows. Simulation mode only runs on systems with SGX enabled. * Support transition_using_threads EDL attribute for ecalls in oeedger8r. OE SDK now supports both switchless OCALLs and ECALLs. * Published corelibc headers required by oeedger8r-generated code. Disclaimer: these headers do not make any guarantees about stability. They are intended to be used by generated code and are not part of the OE public API surface. * Experimental support for Windows Server 2019. * Preview versions of VSCode and Visual Studio Extensions for OE are now part of the github repo. * Experimental support for enclave file system APIs on Windows host. * oelibcxx now supports up to std=c++17. Please see docs/LibcxxSupport.md for more details. * COMPILE_SYSTEM_EDL build flag. This is on by default and will compile system OCalls and ECalls into OE libraries as before. If it is set to off, each enclave application must import the ECalls/OCalls it needs into its own EDL file from {OE_INSTALL_PATH}/include/openenclave/edl. Changed * Moved oe_asymmetric_key_type_t, oe_asymmetric_key_format_t, and oe_asymmetric_key_params_t to bits/asym_keys.h from bits/types.h. * Windows host libraries in the Open Enclave NuGet package have been compiled with /WX /W3 enabled. * Attestation plugin APIs in include/openenclave/attestation/plugin.h are marked experimental. Fixed * Fix #2828<https://github.com/openenclave/openenclave/issues/2828> which removes an explicit host side dependency on libsgx-urts on Linux. * Fix #2607<https://github.com/openenclave/openenclave/issues/2607> so that libmbedcrypto now includes mbedtls_hkdf(). * Fix #2786<https://github.com/openenclave/openenclave/issues/2786> so that CXX is always TRUE in add_enclave_sgx() and add_enclave_optee(). * Fix #2544<https://github.com/openenclave/openenclave/issues/2544> and #2264<https://github.com/openenclave/openenclave/issues/2264>. This removes oesign's dependency on libsgx_enclave_common and libsgx_dcap_ql. * Fix #2661<https://github.com/openenclave/openenclave/issues/2661> which caused inconsistent code generation in oeedger8r. Removed * Removed oe-gdb script which has been deprecated since v0.6. Use oegdb instead. Security * Update mbedTLS to version 2.16.6. Refer to the 2.16.5<https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released> and 2.16.6<https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.6-and-2.7.15-released> release notes for the set of issues addressed. Deprecated * oehostapp is being deprecated from cmake targets. Use oehost instead. See #2595<https://github.com/openenclave/openenclave/issues/2595>. * In the next release (v0.10), system EDL will no longer be compiled into OE libraries by default (COMPILE_SYSTEM_EDL will be OFF by default). See the [system EDL opt-in document] (docs/DesignDocs/system_ocall_opt_in.md#how-to-port-your-application) for more details on how to rebuild the SDK to match this behavior and for guidance on porting your application to the new model. |
|
VS extension updated in the VS marketplace
Dave Thaler
The Open Enclave Visual Studio extension<https://marketplace.visualstudio.com/items?itemName=MS-TCPS.OpenEnclaveSDK-VSIX> is now updated in the VS marketplace.
This version uses v0.8.2 of the SDK, and provides enclave debugger integration with Visual Studio 2019. It can be used to develop and debug enclave applications running on either Windows or Linux. For the latter, VS is run on Windows, and can compile and debug on a "remote" Linux host, but Windows and Linux could even be on the same machine, such as using VM technology. The source code is part of the OE SDK repository, as noted in the v0.9 release notes. Dave Thaler |
|
OpenEnclave SDK SIG-Attestation meeting on Zoom
Radhika Jandhyala
Hi Everybody.
As discussed today in SIG-Arch, we are spinning off a separate SIG-Attestation meeting series. Here are the details. Wednesdays 10:00 AM -11:00 AM PST. Agenda and minutes: https://hackmd.io/Xj6GpDSKSwuz5cZgQ0yg1A Join Zoom Meeting https://zoom.us/j/99552932630?pwd=d1NCR2FkS2gwY0w3Wm9aK096cXZzUT09 Meeting ID: 995 5293 2630 Password: 010209 One tap mobile +12532158782,,99552932630#,,1#,010209# US (Tacoma) +13462487799,,99552932630#,,1#,010209# US (Houston) Dial by your location +1 253 215 8782 US (Tacoma) +1 346 248 7799 US (Houston) +1 669 900 6833 US (San Jose) +1 312 626 6799 US (Chicago) +1 929 205 6099 US (New York) +1 301 715 8592 US (Germantown) 877 853 5247 US Toll-free 888 788 0099 US Toll-free Meeting ID: 995 5293 2630 Password: 010209 Find your local number: https://zoom.us/u/au4r6sLy7 Thanks Radhika |
|
Event: Open Enclave SDK SIG-Attestation Meeting Series
#cal-invite
oesdk@lists.confidentialcomputing.io Calendar <oesdk@...>
Open Enclave SDK SIG-Attestation Meeting Series When: Where: Organizer: Radhika Jandhyala radhikaj@... Description: Please join us for technical discussions related Attestation in the Open Enclave SDK.
Agenda and Minutes: https://hackmd.io/Xj6GpDSKSwuz5cZgQ0yg1A Meeting ID: 995 5293 2630 Dial by your location |
|
Attestation SIG - orientation
Middleton, Dan
Hi,
I’m getting oriented in the attestation SIG and its purpose. The previous minutes list 3 github issues and I just want to get the right context for them. Is it the case that … #2949 is an iteration on the current API #2801 is design background on the current API #2959 is requirements towards a new API ? The minutes indicate that this forum will focus on immediate concerns whereas architectural design (like #2959 if I interpreted that correctly) will take place in the Architecture SIG? Thanks, Dan Middleton Principal Engineer Intel<https://www.intel.com/content/www/us/en/diversity/diversity-at-intel.html> |
|
Re: Attestation SIG - orientation
Dave Thaler
I believe that all three of those are under the attestation SIG not the architecture SIG
toggle quoted message
Show quoted text
as they are all attestation-specific. The way that plugins get registered/loaded/initialized on the other hand is for the architecture SIG since ideally the answer should be similar across different types of plugins, where attestation is just one type of plugin. Dave -----Original Message-----
From: oesdk@... <oesdk@...> On Behalf Of Middleton, Dan via lists.confidentialcomputing.io Sent: Wednesday, May 6, 2020 10:37 AM To: oesdk@... Subject: [oesdk] Attestation SIG - orientation Hi, I’m getting oriented in the attestation SIG and its purpose. The previous minutes list 3 github issues and I just want to get the right context for them. Is it the case that … #2949 is an iteration on the current API #2801 is design background on the current API #2959 is requirements towards a new API ? The minutes indicate that this forum will focus on immediate concerns whereas architectural design (like #2959 if I interpreted that correctly) will take place in the Architecture SIG? Thanks, Dan Middleton Principal Engineer Intel<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.intel.com%2Fcontent%2Fwww%2Fus%2Fen%2Fdiversity%2Fdiversity-at-intel.html&data=02%7C01%7Cdthaler%40microsoft.com%7C76b987d83fcf49fda2a608d7f1e48522%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637243836901374183&sdata=ERm9gGo9LxNqYL4ZXcWlRD1d%2BSRJcc5dgz0Btax0Wh0%3D&reserved=0> |
|
Open Enclave SDK SIG-Attestation Meeting Series - Wed, 05/13/2020
#cal-notice
oesdk@lists.confidentialcomputing.io Calendar <noreply@...>
Open Enclave SDK SIG-Attestation Meeting Series When: Where: Organizer: Description:
Agenda and Minutes: https://hackmd.io/Xj6GpDSKSwuz5cZgQ0yg1A Meeting ID: 995 5293 2630 Dial by your location |
|
Open Enclave SDK SIG-Attestation Meeting Series - Wed, 05/20/2020
#cal-notice
oesdk@lists.confidentialcomputing.io Calendar <noreply@...>
Open Enclave SDK SIG-Attestation Meeting Series When: Where: Organizer: Description:
Agenda and Minutes: https://hackmd.io/Xj6GpDSKSwuz5cZgQ0yg1A Meeting ID: 995 5293 2630 Dial by your location |
|
Open Enclave SDK SIG-Attestation Meeting Series - Wed, 05/27/2020
#cal-notice
oesdk@lists.confidentialcomputing.io Calendar <noreply@...>
Open Enclave SDK SIG-Attestation Meeting Series When: Where: Organizer: Description:
Agenda and Minutes: https://hackmd.io/Xj6GpDSKSwuz5cZgQ0yg1A Meeting ID: 995 5293 2630 Dial by your location |
|
Event: radhika jandhyala
#cal-invite
oesdk@lists.confidentialcomputing.io Calendar <oesdk@...>
radhika jandhyala When: Where: Organizer: Radhika Jandhyala radhikaj@... Description: Topic: Open Enclave SDK SIG-Documentation Zoom Meeting
Open Enclave SDK is inviting you to a scheduled Zoom meeting.This Kanban board has the list of issues and PRs to go over: https://github.com/openenclave/openenclave/projects/19 Meeting minutes: https://hackmd.io/91jDYJa-RIOTP3YbrL3NbA Join Zoom Meeting
https://zoom.us/j/96447780605?pwd=NG9qUTJIZW10Z3MvNzBXOHpIbVJKQT09 Meeting ID: 964 4778 0605
Password: 898227 One tap mobile +12532158782,,96447780605#,,1#,898227# US (Tacoma) +16699006833,,96447780605#,,1#,898227# US (San Jose) Dial by your location
+1 253 215 8782 US (Tacoma) +1 669 900 6833 US (San Jose) +1 346 248 7799 US (Houston) +1 312 626 6799 US (Chicago) +1 929 205 6099 US (New York) +1 301 715 8592 US (Germantown) 888 788 0099 US Toll-free 877 853 5247 US Toll-free Meeting ID: 964 4778 0605 Password: 898227 Find your local number: https://zoom.us/u/aA9Cafp5z |
|
Updated Event: SIG-Documentation for Open Enclave SDK
#cal-invite
oesdk@lists.confidentialcomputing.io Calendar <oesdk@...>
SIG-Documentation for Open Enclave SDK When: Where: Organizer: Radhika Jandhyala radhikaj@... Description: Topic: Open Enclave SDK SIG-Documentation Zoom Meeting
Open Enclave SDK is inviting you to a scheduled Zoom meeting.This Kanban board has the list of issues and PRs to go over: https://github.com/openenclave/openenclave/projects/19 Meeting minutes: https://hackmd.io/91jDYJa-RIOTP3YbrL3NbA Join Zoom Meeting
https://zoom.us/j/96447780605?pwd=NG9qUTJIZW10Z3MvNzBXOHpIbVJKQT09 Meeting ID: 964 4778 0605
Password: 898227 One tap mobile +12532158782,,96447780605#,,1#,898227# US (Tacoma) +16699006833,,96447780605#,,1#,898227# US (San Jose) Dial by your location
+1 253 215 8782 US (Tacoma) +1 669 900 6833 US (San Jose) +1 346 248 7799 US (Houston) +1 312 626 6799 US (Chicago) +1 929 205 6099 US (New York) +1 301 715 8592 US (Germantown) 888 788 0099 US Toll-free 877 853 5247 US Toll-free Meeting ID: 964 4778 0605 Password: 898227 Find your local number: https://zoom.us/u/aA9Cafp5z |
|
I would like to subscribe to this mailing list
Bruno Ferreira <brfr82@...>
I would like to subscribe to this mailing list and get updates. I want to run an algorithm with a matrix of dimension 100.000 x 100.000 inside an enclave. It uses at least 74 GB of ram. Bruno Ferreira (+351) 969 528 609 |
|
Re: I would like to subscribe to this mailing list
Middleton, Dan
Hi,
You can subscribe here: https://lists.confidentialcomputing.io/g/oesdk/ Regards, Dan From: <oesdk@...> on behalf of Bruno Ferreira <brfr82@...> Reply-To: "oesdk@..." <oesdk@...>, "brfr82@..." <brfr82@...> Date: Monday, June 1, 2020 at 11:21 AM To: "oesdk@..." <oesdk@...> Subject: [oesdk] I would like to subscribe to this mailing list I would like to subscribe to this mailing list and get updates. I want to run an algorithm with a matrix of dimension 100.000 x 100.000 inside an enclave. It uses at least 74 GB of ram. Bruno Ferreira (+351) 969 528 609 |
|
Open Enclave SDK SIG-Attestation Meeting Series - Wed, 06/03/2020
#cal-notice
oesdk@lists.confidentialcomputing.io Calendar <noreply@...>
Open Enclave SDK SIG-Attestation Meeting Series When: Where: Organizer: Description:
Agenda and Minutes: https://hackmd.io/Xj6GpDSKSwuz5cZgQ0yg1A Meeting ID: 995 5293 2630 Dial by your location |
|
Updated Event: SIG-Documentation for Open Enclave SDK
#cal-invite
oesdk@lists.confidentialcomputing.io Calendar <oesdk@...>
SIG-Documentation for Open Enclave SDK When: Where: Organizer: Radhika Jandhyala radhikaj@... Description: Topic: Open Enclave SDK SIG-Documentation Zoom Meeting
Open Enclave SDK is inviting you to a scheduled Zoom meeting.This Kanban board has the list of issues and PRs to go over: https://github.com/openenclave/openenclave/projects/19 Meeting minutes: https://hackmd.io/91jDYJa-RIOTP3YbrL3NbA Join Zoom Meeting
https://zoom.us/j/96447780605?pwd=NG9qUTJIZW10Z3MvNzBXOHpIbVJKQT09 Meeting ID: 964 4778 0605
Password: 898227 One tap mobile +12532158782,,96447780605#,,1#,898227# US (Tacoma) +16699006833,,96447780605#,,1#,898227# US (San Jose) Dial by your location
+1 253 215 8782 US (Tacoma) +1 669 900 6833 US (San Jose) +1 346 248 7799 US (Houston) +1 312 626 6799 US (Chicago) +1 929 205 6099 US (New York) +1 301 715 8592 US (Germantown) 888 788 0099 US Toll-free 877 853 5247 US Toll-free Meeting ID: 964 4778 0605 Password: 898227 Find your local number: https://zoom.us/u/aA9Cafp5z |
|
Updated Event: OE SDK Triage Meeting
#cal-invite
oesdk@lists.confidentialcomputing.io Calendar <oesdk@...>
OE SDK Triage Meeting When: Where: Organizer: Aeva aevander@... Description: Open Enclave SDK Weekly Triage Meeting Join Zoom Meeting Meeting ID: 982 0618 6947 Dial by your location |
|
Updated Event: OE SDK SIG-Architecture Meeting
#cal-invite
oesdk@lists.confidentialcomputing.io Calendar <oesdk@...>
OE SDK SIG-Architecture Meeting When: Where: Organizer: Aeva aevander@... Description: Join Zoom Meeting Meeting ID: 953 0987 1627 Dial by your location |
|