Commit graph

129 commits

Author SHA1 Message Date
Harald Hoyer
efb2b071d7
Merge pull request #65 from matter-labs/gramine-v1.8
feat(gramine): v1.7 -> v1.8
2024-11-19 23:13:11 +07:00
Harald Hoyer
86524f9b3b
Merge branch 'main' into gramine-v1.8 2024-11-19 23:08:47 +07:00
Harald Hoyer
4ec107365f
Merge pull request #68 from ozwaldorf/docs/usage
docs: add test enclave usage example
2024-11-15 00:14:42 +07:00
ozwaldorf
5a500fed47
docs: add test enclave usage examples, move reference repos to their own subsection 2024-11-14 11:58:33 -05:00
Harald Hoyer
88c0700635
Merge pull request #67 from ozwaldorf/main
feat(sgxGramineContainer): expose maxLayers argument from image builder
2024-11-14 01:49:30 +07:00
ozwaldorf
0b72b70409
feat(sgxGramineContainer): expose maxLayers argument from image builder 2024-11-13 13:03:53 -05:00
Harald Hoyer
50f3adc1c6
feat(gramine): v1.7 -> v1.8
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-11-12 17:28:54 +01:00
Harald Hoyer
ee9445bf57
Merge pull request #57 from matter-labs/renovate/trufflesecurity-trufflehog-3.x
chore(deps): update trufflesecurity/trufflehog action to v3.82.8
2024-10-16 08:44:20 +02:00
renovate[bot]
890d0a0f51
chore(deps): update trufflesecurity/trufflehog action to v3.82.9 2024-10-15 23:43:37 +00:00
Harald Hoyer
19fe21750a
Merge pull request #59 from matter-labs/renovate/cachix-install-nix-action-30.x
chore(deps): update cachix/install-nix-action action to v30
2024-10-15 17:57:38 +02:00
renovate[bot]
547c844b3a
chore(deps): update cachix/install-nix-action action to v30 2024-10-15 15:35:01 +00:00
Harald Hoyer
747fe8c8e0
Merge pull request #60 from matter-labs/renovate/actions-checkout-digest
chore(deps): update actions/checkout digest to eef6144
2024-10-15 17:34:35 +02:00
renovate[bot]
7df1662308
chore(deps): update actions/checkout digest to eef6144 2024-10-15 15:27:16 +00:00
Harald Hoyer
c575b7d69a
Merge pull request #62 from matter-labs/nixpkgs
chore(deps): update nixpkgs
2024-10-15 17:27:00 +02:00
Harald Hoyer
6ad0eb76d5
chore(deps): update nixpkgs
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-10-15 11:21:38 +02:00
Harald Hoyer
d00fbd916b
Merge pull request #61 from matter-labs/sgx_2.25
feat: sgx-2.25 dcap-1.22
2024-10-15 10:59:34 +02:00
Harald Hoyer
41b3543753
feat: sgx-2.25 dcap-1.22
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-10-15 08:30:27 +02:00
Harald Hoyer
00bb72e3ef
Merge pull request #56 from matter-labs/renovate/trufflesecurity-trufflehog-3.x
chore(deps): update trufflesecurity/trufflehog action to v3.81.10
2024-09-02 12:04:00 +02:00
renovate[bot]
2ad232abb7
chore(deps): update trufflesecurity/trufflehog action to v3.81.10 2024-08-29 21:35:20 +00:00
Harald Hoyer
4f91ba517f
Merge pull request #52 from matter-labs/renovate/trufflesecurity-trufflehog-3.x
chore(deps): update trufflesecurity/trufflehog action to v3.81.7
2024-08-08 17:55:45 +02:00
renovate[bot]
79fc31888d
chore(deps): update trufflesecurity/trufflehog action to v3.81.7 2024-08-08 15:42:52 +00:00
Harald Hoyer
2bd581eb30
Merge pull request #55 from matter-labs/pkgs.lib.tee.sgxGramineContainer
refactor: replace mkSGXContainer with sgxGramineContainer
2024-08-08 17:42:29 +02:00
Harald Hoyer
1e8c8ed1c7
refactor: replace mkSGXContainer with sgxGramineContainer
- Deprecate `mkSGXContainer` in favor of `sgxGramineContainer`.
- Update references to use the new container creation function.
- Streamline the codebase by simplifying `overlays/libTee/default.nix`.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-08-08 14:34:34 +02:00
Harald Hoyer
b080c32f2a
Merge pull request #54 from matter-labs/gramine-pipes
fix(gramine): maybe fix problem with golang `netpollBreak`
2024-08-08 14:34:25 +02:00
Harald Hoyer
7eb96bec6a
fix(gramine): maybe fix problem with golang netpollBreak
Old golang uses pipes for netpoll. And occasionally -EACCES was seen
with golang `netpollBreak` writing to a non-blocking pipe.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-08-08 14:18:43 +02:00
D025
be2c19592d
ci: change runners for execute jobs (#53) 2024-07-23 13:24:52 +00:00
Harald Hoyer
520ad62275
Merge pull request #51 from matter-labs/fix_readme
docs: fix links in readme
2024-07-02 14:31:49 +02:00
Harald Hoyer
a54aaacd46
docs: fix links in readme
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-07-02 13:06:23 +02:00
Harald Hoyer
0309a20ee5
Merge pull request #50 from matter-labs/repro_func
fix: get rid of `/dev/` in containers
2024-07-02 12:32:45 +02:00
Harald Hoyer
9a35ad60ad
fix: get rid of /dev/ in containers
`enableFakechroot = true` somehow triggered the inclusion of `/dev`.

Some fake chroots included `/dev/kvm` with different permissions,
so the produced container was not the same.

As this fake chroot is not needed anymore with using `--chroot` for `gramine-sgx-sign`,
it can be turned off.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-07-02 12:12:22 +02:00
Harald Hoyer
3897de057d
Merge pull request #49 from matter-labs/repro_func
fix: make containers reproducible again
2024-07-02 11:22:56 +02:00
Harald Hoyer
4a6aff1d2e
fix: make containers reproducible again
by providing the `--chroot` argument to `gramine-sgx-sign` and with
a careful assembled `nix` directory, containing no build root artifacts.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-07-02 11:17:10 +02:00
Harald Hoyer
07ae787761
Merge pull request #46 from matter-labs/renovate/trufflesecurity-trufflehog-3.x
chore(deps): update trufflesecurity/trufflehog action to v3.79.0
2024-07-01 16:45:53 +02:00
renovate[bot]
1517da817f
chore(deps): update trufflesecurity/trufflehog action to v3.79.0 2024-07-01 14:15:08 +00:00
Harald Hoyer
b78f837b73
Merge pull request #48 from matter-labs/overlay_func
feat: use overlay to specify `mkSGXContainer`
2024-07-01 16:14:46 +02:00
Harald Hoyer
2d39aee8b4
feat: use overlay to specify mkSGXContainer
will simplify `pkgs.callPackage lib.nixsgx.mkSGXContainer`
to `nixsgxLib.mkSGXContainer`.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-07-01 16:06:23 +02:00
Harald Hoyer
347a89b6da
Merge pull request #47 from matter-labs/attic
chore: Migrate from cachix to Attic in nix and github workflows
2024-07-01 16:02:26 +02:00
Harald Hoyer
971e63784c
chore: Migrate from cachix to Attic in nix and github workflows
- Updated nix config to use Attic substituter and trusted public key
- Modified github workflows to use Attic cache instead of Cachix
- Removed the now unnecessary cachix config settings and Cachix workflow actions
- Update `flake.lock`
- Run on our own CI runners

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-07-01 14:00:14 +02:00
Harald Hoyer
3a272950fa
Merge pull request #45 from matter-labs/app_name
feat: rename manifest and sigs to `app` by default via `appName` parameter
2024-06-26 14:05:31 +02:00
Harald Hoyer
83f9cc24ee
feat: rename manifest and sigs to app by default via appName parameter
This will ease the creation of scripts processing containers further.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-26 12:26:40 +02:00
Harald Hoyer
f6c55e4229
Merge pull request #44 from matter-labs/renovate/trufflesecurity-trufflehog-3.x
chore(deps): update trufflesecurity/trufflehog action to v3.78.2
2024-06-21 11:16:36 +02:00
renovate[bot]
5cbc803ff8
chore(deps): update trufflesecurity/trufflehog action to v3.78.2 2024-06-21 02:08:11 +00:00
Harald Hoyer
d9eb744741
Merge pull request #43 from matter-labs/fix_cmd
fix: correct `CMD`
2024-06-18 10:36:42 +02:00
Harald Hoyer
dba206cc75
fix: correct CMD
incorrectly escaped `[ -n "$GRAMINE_DIRECT" ]`

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-18 10:33:57 +02:00
Harald Hoyer
b6c1b5dd0a
Merge pull request #42 from matter-labs/gramine-direct
feat: add GRAMINE_DIRECT
2024-06-15 12:56:37 +02:00
Harald Hoyer
ec8f336547
feat: add GRAMINE_DIRECT
if the container is passed `GRAMINE_DIRECT=1` then `gramine-direct`
is executed. This helps debugging on non-sgx machines.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-14 20:43:03 +02:00
Harald Hoyer
070abadeb7
Merge pull request #39 from matter-labs/renovate/trufflesecurity-trufflehog-3.x
chore(deps): update trufflesecurity/trufflehog action to v3.78.1
2024-06-14 20:41:17 +02:00
renovate[bot]
d65766ca62
chore(deps): update trufflesecurity/trufflehog action to v3.78.1 2024-06-14 15:34:21 +00:00
Harald Hoyer
eba8b34c29
Merge pull request #41 from matter-labs/gramine-1.7
feat: gramine 1.7
2024-06-14 17:34:00 +02:00
Harald Hoyer
18963c7e6b
feat: gramine 1.7
This release supports eventfd, so the patched `libuv` can be omitted.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-14 14:27:06 +02:00