From 2d35d4f308970556fab58b006a3d89e616ee813c Mon Sep 17 00:00:00 2001 From: chronal Date: Sun, 7 Jul 2024 17:11:55 +0200 Subject: [PATCH] Assignment 7 sgximpl: readme compilation hint --- 7-SGX_Hands-on/README.md | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/7-SGX_Hands-on/README.md b/7-SGX_Hands-on/README.md index b40a7f6..b76bfda 100644 --- a/7-SGX_Hands-on/README.md +++ b/7-SGX_Hands-on/README.md @@ -1,18 +1,3 @@ -<<<<<<< HEAD -# Usage -## Setup -Initialize the Enclave keypair by executing: -`./signatureproxy proxysetup -pkey > ` - -## Sign -1. Create employee signature using `./signatureproxy employee -firm -ekey > ` - This step can also be done using OpenSSL: `openssl dgst -sha256 -sign -out -in ` -2. Use the signature proxy to resign the firmware using `./signatureproxy proxy -pkey -epub -firm > ` - The enclave verifies the employee signature and signs the firmware if the signature is valid. -3. Verify signature using `cat | ./signatureproxy embedded -firm -ppub ` - This step can also be done using OpenSSL: `openssl dgst -sha256 -verify -signature ` - -======= # Signature Relay for firmware Documentation of @@ -45,7 +30,15 @@ out └── obj <- here are the object files generated by the compiling process ``` -## Usage +# Usage +## Setup +Initialize the Enclave keypair by executing: +`./signatureproxy proxysetup -pkey > ` - ->>>>>>> c1d9d30 (Assignment 7 sgximpl: README.md compiling) +## Sign +1. Create employee signature using `./signatureproxy employee -firm -ekey > ` + This step can also be done using OpenSSL: `openssl dgst -sha256 -sign -out -in ` +2. Use the signature proxy to resign the firmware using `./signatureproxy proxy -pkey -epub -firm > ` + The enclave verifies the employee signature and signs the firmware if the signature is valid. +3. Verify signature using `cat | ./signatureproxy embedded -firm -ppub ` + This step can also be done using OpenSSL: `openssl dgst -sha256 -verify -signature `