Commit graph

10 commits

Author SHA1 Message Date
snoppy
7c2d3259b1
fix typos 2024-03-18 22:22:31 +08:00
Harald Hoyer
0654bacdb5
ci: use crane flake to build with nix
This enables to add cargo `fmt`, `clippy` and `deny` to nix, using cached results.

Move the `teepot` crate to the `crates` subdir to make the life easier for
the `crane` flake.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-03-11 10:01:59 +01:00
Harald Hoyer
9f760da23e
docs: add bin/tee-self-attestation-test/README.md
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-03-08 15:50:00 +01:00
Harald Hoyer
97420df006
feat: attestation test on azure and default dcap
```
❯ docker run -i --rm --privileged  --device /dev/sgx_enclave --net host \
  matterlabsrobot/teepot-self-attestation-test-sgx-azure:latest \
  | base64 -d --ignore-garbage \
  | docker run -i --rm --net host matterlabsrobot/verify-attestation-sgx-azure:latest
```

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-03-07 16:05:27 +01:00
Harald Hoyer
59807c4286
chore(deps): remove unused dependencies
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-02-28 15:18:28 +01:00
Harald Hoyer
91f1612e0f
chore: cleanup and nixify
* create containers with nix
* updated README.md
* added SPDX license headers

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-02-28 11:09:34 +01:00
Harald Hoyer
0b60abc030
feat: use real RA-TLS for everything
* add `tee-ratls-preexec` for creating the vault certificate
* remove the old attestation API

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-02-27 16:44:28 +01:00
Harald Hoyer
dc4434938e
fix(tee-key-preexec): don't hash public key
No need to hash the public key for the attestation report data.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-02-15 10:31:54 +01:00
Harald Hoyer
2591bf0807
chore(deps): rustls-pemfile 2
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-02-15 10:23:29 +01:00
Harald Hoyer
89ffbd35a8
feat: initial commit
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-02-09 10:10:53 +01:00