node-secureworker
node-secureworker copied to clipboard
Implement report and remote attestation commands outside enclave
Remote attestation commands can probably simply implemented in JavaScript. Report generation should probably be C/C++, but outside of enclave.
Remote attestation needs a key pair. I would provide one default with the package, but users should be able to set their own.
Remote attestation should use protocol V2 which returns a signed statement by Intel, and then validation of remote attestation should validate that statement.
Report implemented, but it is failing in non-mock implementation. One argument does not seem to be to the SGX liking (based on the error returned).
Report fixed and works now.