Skip to content

Instantly share code, notes, and snippets.

@knknkn1162
Created November 11, 2019 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knknkn1162/6e51ccfec3a533b7343fec0bfb9a438c to your computer and use it in GitHub Desktop.
Save knknkn1162/6e51ccfec3a533b7343fec0bfb9a438c to your computer and use it in GitHub Desktop.
./scripts/travis.sh
spawn ssh -o UserKnownHostsFile /dev/null root@localhost -p 5107
The authenticity of host '[localhost]:5107 ([127.0.0.1]:5107)' can't be established.
ECDSA key fingerprint is SHA256:S1GDtmoFHR4WvJVy7RJiW6jWWmkldr50sSuXdFNghIM.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:5107' (ECDSA) to the list of known hosts.
root@localhost's password:
# insmod keystone-driver.ko
# cd tests; ./tests.ke
Verifying archive integrity... All good.
Uncompressing Keystone vault archive
testing stack
testing fibonacci
testing long-nop
testing loop
testing malloc
testing fib-bench
testing untrusted
Enclave said: hello world!
Enclave said: 2nd hello world!
Enclave said value: 13
Enclave said value: 20
testing attestation
Attestation report SIGNATURE is valid
# poweroff
# Connection to localhost closed by remote host.
Connection to localhost closed.
[PASS] output.log matches with the expected output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment