README.txt 1.8 KB

12345678910111213141516171819202122232425262728293031
  1. The sgx_sign generates the enclave signature and meta-data, and inserts the
  2. information into the enclave file.
  3. Meanwhile, the sgx_sign checks the enclave compatibility and provides the detail
  4. information to users.
  5. Usage:
  6. sgx_sign <command> [options] file...
  7. Commands:
  8. sign Sign the enclave using the private key.
  9. gendata Generate enclave signing material to be signed.
  10. catsig Generate the signed enclave with the input signature
  11. file, the public key and the enclave signing material.
  12. Options:
  13. -enclave Specify the enclave file to be signed.
  14. It is a required option for the listed sgx_sign commands.
  15. -key Specify the key file.
  16. It is a required option for the sign and catsig commands.
  17. -config Specify the configuration for the enclave.
  18. -out Specify the output file.
  19. It is a required option for the listed sgx_sign commands.
  20. -sig Specify the signature file for the enclave signing
  21. material.
  22. It is a required option for the catsig command.
  23. -unsigned Specify the enclave signing material generated by the
  24. gendata command.
  25. It is a required option for the catsig command.
  26. -ignore-rel-error By default, sgx_sign provides an error for enclaves with
  27. text relocations. You can ignore the error and continue signing
  28. by providing this option. But it is recommended you eliminate the
  29. text relocations instead of bypassing the error with this option.