Li, Xun 0fb9f47e78 Linux 1.9 Open Source Gold release 7 vuotta sitten
..
Makefile 1115c195cd Linux 1.8 Open Source Gold release 7 vuotta sitten
README.txt 6662022bf8 Linux 1.7 Open Source Gold release 7 vuotta sitten
elf_helper.h 1115c195cd Linux 1.8 Open Source Gold release 7 vuotta sitten
enclave_creator_sign.cpp 1115c195cd Linux 1.8 Open Source Gold release 7 vuotta sitten
enclave_creator_sign.h 1115c195cd Linux 1.8 Open Source Gold release 7 vuotta sitten
manage_metadata.cpp 0fb9f47e78 Linux 1.9 Open Source Gold release 7 vuotta sitten
manage_metadata.h 0fb9f47e78 Linux 1.9 Open Source Gold release 7 vuotta sitten
parse_key_file.cpp 1115c195cd Linux 1.8 Open Source Gold release 7 vuotta sitten
parse_key_file.h 1115c195cd Linux 1.8 Open Source Gold release 7 vuotta sitten
sign_tool.cpp 0fb9f47e78 Linux 1.9 Open Source Gold release 7 vuotta sitten
util_st.cpp 1115c195cd Linux 1.8 Open Source Gold release 7 vuotta sitten
util_st.h 0fb9f47e78 Linux 1.9 Open Source Gold release 7 vuotta sitten

README.txt

The sgx_sign generates the enclave signature and meta-data, and inserts the
information into the enclave file.
Meanwhile, the sgx_sign checks the enclave compatibility and provides the detail
information to users.

Usage:
sgx_sign [options] file...
Commands:
sign Sign the enclave using the private key.
gendata Generate enclave signing material to be signed.
catsig Generate the signed enclave with the input signature
file, the public key and the enclave signing material.
Options:
-enclave Specify the enclave file to be signed.
It is a required option for the listed sgx_sign commands.
-key Specify the key file.
It is a required option for the sign and catsig commands.
-config Specify the configuration for the enclave.
-out Specify the output file.
It is a required option for the listed sgx_sign commands.
-sig Specify the signature file for the enclave signing
material.
It is a required option for the catsig command.
-unsigned Specify the enclave signing material generated by the
gendata command.
It is a required option for the catsig command.
-ignore-rel-error By default, sgx_sign provides an error for enclaves with
text relocations. You can ignore the error and continue signing
by providing this option. But it is recommended you eliminate the
text relocations instead of bypassing the error with this option.