Commit graph

125 commits

Author SHA1 Message Date
Sascha Tommasone
fc0438e5dd [Assignment-7] final 2024-07-08 11:19:48 +02:00
chronal
ff8779256c Assignment 7 sgximpl: readme compilation hint 2024-07-08 11:19:48 +02:00
chronal
f088d661af Assignment 7 sgximpl: README.md compiling 2024-07-08 11:19:48 +02:00
Sascha Tommasone
c9b6e749a7 [Assignment-7] update Makefile and simulate.sh 2024-07-08 11:19:48 +02:00
Sascha Tommasone
00b8bf74af [Assignment-7] setup script 2024-07-08 11:19:48 +02:00
Sascha Tommasone
c1b780e41f [Assignment-7] cleanup 2024-07-08 11:19:48 +02:00
Sascha Tommasone
10a1119eb4 [Assignment-7] cleanup 2024-07-08 11:19:48 +02:00
Sascha Tommasone
3c3671a579 [Assingment-7] updated simulate.sh 2024-07-08 11:19:48 +02:00
04fda7586f [Assignment-7] update simulate.sh 2024-07-08 11:19:48 +02:00
2829fdad19 [Assignment-7] add simulate.sh 2024-07-08 11:19:48 +02:00
c3c1de2811 [Assignment-7] small changes 2024-07-08 11:19:48 +02:00
Sascha Tommasone
1b83c83a4f [Assignment-7] fixed typo 2024-07-08 11:19:48 +02:00
b901e63f99 [Assignment-7] add keys of Bob and Oskar 2024-07-08 11:19:48 +02:00
Sascha Tommasone
6a1ee981e1 [Assignment-7] added embedded device to main.c; adjusted parameter parsing 2024-07-08 11:19:48 +02:00
Sascha Tommasone
83d943940c [Assignment-7] add embedded_device_syntax; add .h 2024-07-08 11:19:48 +02:00
c1bdc5b079 [Assignment-7] update flake and add missing enclave files 2024-07-08 11:19:48 +02:00
Sascha Tommasone
90ea867646 [Assignment-7] adjusted some error messages 2024-07-08 11:19:48 +02:00
Sascha Tommasone
a4303acdf6 [Assignment-7] embedded_device 2024-07-08 11:19:48 +02:00
36ce364e2d [Assignment-7] cleanup 2024-07-08 11:19:48 +02:00
feb0bd1b73 [Assignment-7] app restructure and cleanup 2024-07-08 11:19:48 +02:00
Sascha Tommasone
9cd7ef8703 [Assignment-7] . 2024-07-08 11:19:48 +02:00
Sascha Tommasone
c99556a595 [Assignment-7] embedded device prototype 2024-07-08 11:19:48 +02:00
Sascha Tommasone
05ea23459f [Assignment-7] . 2024-07-08 11:19:48 +02:00
f573b0c28a [Assignment-7] add keys of alice 2024-07-08 11:19:48 +02:00
Sascha Tommasone
bb11ef02e4 [Assignment-7] fixed header spelling 2024-07-08 11:19:48 +02:00
355e8560f6 [Assignment-7] working implementation of untrusted 2024-07-08 11:19:48 +02:00
Sascha Tommasone
e3daea6279 [Assignment-7] added missing comma 2024-07-08 11:19:48 +02:00
Sascha Tommasone
f865836630 [Assignment-7] fixed endianess of staff public key 2024-07-08 11:19:48 +02:00
Sascha Tommasone
3b2b203415 [Assignment-7] add first staff public key; enabled request verification 2024-07-08 11:19:48 +02:00
Sascha Tommasone
04e2894de0 [Assignment-7] fixed wrong data size parameter given to sgx_ecdsa_sign 2024-07-08 11:19:48 +02:00
Sascha Tommasone
c1351d4853 [Assignment-7] hardcoded public key/signatures sizes; cleaned up unused code 2024-07-08 11:19:48 +02:00
Sascha Tommasone
20529e2768 [Assignment-7] fixed endianess problems 2024-07-08 11:19:48 +02:00
6d966e0b94 [Assignment-7] App Intermediary and Proxy
- Intermediary is fully functional
- Proxy is ready until invocation of enclave
2024-07-08 11:19:48 +02:00
Sascha Tommasone
b41976a5ff [Assignment-7] changes to .edl .h based on enclave.c 2024-07-08 11:19:48 +02:00
Sascha Tommasone
79dbf59cee [Assignment-7] modified makefile 2024-07-08 11:19:48 +02:00
Sascha Tommasone
7dfa8b9e37 [Assignment-7] update verify_firmware 2024-07-08 11:19:48 +02:00
Sascha Tommasone
59e6be83c7 [Assignment-7] update sign_firmware 2024-07-08 11:19:48 +02:00
Sascha Tommasone
fd31523ce5 [Assignment-7] new function 'static sgx_status_t verify_signature' 2024-07-08 11:19:48 +02:00
Sascha Tommasone
9364000b83 [Assignment-7] (un)seal_key_pair now static functions 2024-07-08 11:19:48 +02:00
Sascha Tommasone
9cd8b37cc5 [Assignment-7] authorized public keys 2024-07-08 11:19:48 +02:00
6779eb608e [Assignment-7] Repair Flake 2024-07-08 11:19:48 +02:00
25a5ca3e2d [Assignment-7] Flake + App base
- Add Assignment-7 to flake.nix
- Implement basic framework of app
- Implement proxy subcommand (mostly)
- Implement basics of intermediary subcommand
2024-07-08 11:19:48 +02:00
Sascha Tommasone
0d6b13fafa [Assignment-7] prototype verify_firmware 2024-07-08 11:19:48 +02:00
Sascha Tommasone
7a592dc225 [Assignment-7] sign_firmware: removed dynamic memory allocations; added sealing of key after creation; uint8_t *sealed is now two way pointer; improved error handling 2024-07-08 11:19:48 +02:00
Sascha Tommasone
8da66bea12 [Assignment-7] public_key: renamed to get_public_key; improved error handling 2024-07-08 11:19:48 +02:00
Sascha Tommasone
3ea3076945 [Assignment-7] unseal_key_pair: removed dynamic memory allocations; removed unused parameter; improved error handling 2024-07-08 11:19:48 +02:00
Sascha Tommasone
97dfb2b82e [Assignment-7] seal_key_pair: removed dynamic memory allocations; fixed pointer usage 2024-07-08 11:19:48 +02:00
Sascha Tommasone
83ad706ad7 [Assignment-7] size ecalls 2024-07-08 11:19:48 +02:00
Sascha Tommasone
6aaaa3de9a [Assignment-7] improved error handling; add (un)sealing prototypes 2024-07-08 11:19:48 +02:00
Sascha Tommasone
cb380685a8 [Assignment-7] security fix in sign_firmware 2024-07-08 11:19:48 +02:00