Commit graph

105 commits

Author SHA1 Message Date
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
Sascha Tommasone
5e0d13b84e [Assignment-7] add seal prototype 2024-07-08 11:19:48 +02:00
Sascha Tommasone
7ef4e42ef9 [Assignment-7] add prototype 'sgx_status_t public_key' 2024-07-08 11:19:48 +02:00
Sascha Tommasone
07254a8036 [Assignment-7] sign_firmware returns signature 2024-07-08 11:19:48 +02:00
Sascha Tommasone
76d8d4a2f4 [Assignment-7] add first enclave part 2024-07-08 11:19:48 +02:00
chronal
4a5261f6ec Assignment 7 sgximl: lib 2024-07-08 11:19:48 +02:00
chronal
0023864b0a Assignment 7 sgximpl don't ignore lib/ 2024-07-08 11:19:48 +02:00
chronal
01182627e0 Assignment 7 sgximpl: initialize project structure 2024-07-08 11:19:48 +02:00
chronal
133fb803f7
Assignment 7: abgabe neue formulierung
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m4s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m1s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 33s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 9s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 9s
2024-07-07 22:13:20 +02:00
chronal
32014ead42
Assignment 7 sgximpl: abgabe grafiken für besseres Verständnis
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m1s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 32s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 9s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-07-07 19:19:08 +02:00
chronal
d768d965d5
Assignment 7 sgximpl: uncomplete project description
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m6s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 33s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-07-07 17:07:46 +02:00
Sascha Tommasone
4c9de6da37
[Assignment-7] add rsa blinding against time based side channel attacks
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m1s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m4s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 33s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 11s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-29 21:14:06 +02:00
ba8e969470
[Assignment-7] add SGX sample code from VM
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 30s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 10s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-29 17:55:44 +02:00
Sascha Tommasone
5616ddc4e5
[Assignment-7] add rsa_verify
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m5s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 32s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 9s
2024-06-29 16:46:07 +02:00
Sascha Tommasone
4d6d39df95
[Assigment-7] basic rsa implementation
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 36s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 9s
2024-06-29 16:10:15 +02:00
Sascha Tommasone
9df8ca5810
[Assignment-7] sha256 implementation
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 30s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-29 12:00:22 +02:00
chronal
7046987a6f
Assignment 7: initialisation
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m6s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m1s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 33s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-28 16:41:35 +02:00
d7c5c2b778 Merge pull request 'Assignment-6' (#3) from Assignment-6 into master
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 32s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 32s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 32s
Reviewed-on: #3
2024-06-28 16:35:35 +02:00
be0436eb59
[Assignment-6] fix wrong links in footnote
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 58s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 30s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 7s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-24 13:31:58 +02:00
4f86df92e1
Rechtschreibung und Zeichensetzung üben wir noch mal
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 59s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m4s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 53s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 31s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 7s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-24 13:14:18 +02:00
Sascha Tommasone
731478bcdf
[Assignment-6] solution task 7 (stack canaries)
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 58s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 31s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-23 23:04:14 +02:00