Commit Graph

22 Commits

Author SHA1 Message Date
Marcin Serwin
aabe13f270 sgx-psw: 2.27 -> 2.29; nixos/aesmd: update (#524479) 2026-07-31 16:07:56 +00:00
Eman Resu
9d26adcd20 treewide: avoid using singleton lists for licenses 2026-07-15 13:56:52 -04:00
hayao
ccf6ab0bff sgx-psw: 2.27 -> 2.29; nixos/aesmd: update 2026-07-09 12:26:34 +09:00
Philip Kannegaard Hayes
bbbf5bd268 sgx-psw: 2.25 -> 2.27; nixos/aesmd: update 2026-03-24 10:40:48 -07:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Philip Kannegaard Hayes
2d0e1f8046 sgx-psw: 2.24 -> 2.25
Diff: <https://github.com/intel/linux-sgx/compare/sgx_2.24...sgx_2.25>

Changelog: <https://github.com/intel/linux-sgx/releases/tag/sgx_2.25>

This diff decouples the `sgx-psw` and `sgx-sdk` builds. We only need some
headers and a single tool (`sgx_edger8r`) from the base sdk in order to build
`sgx-psw`. The biggest benefit here is that I can quickly iterate on `sgx-psw`,
which takes just 3 min to build, vs. waiting 1+ hour to build both `sgx-sdk`
and `sgx-psw`.

`sgx-sdk` is also broken in an inscrutable way with 2.25 and I don't really
have the patience to waste more time on it. Now I can update the only useful
artifact (the `aesmd` service from `sgx-psw`) without wasting time on the sdk.
2024-11-01 18:16:34 -07:00
Philip Hayes
fcc7d2be75 sgx-psw: 2.23 -> 2.24 2024-05-05 16:56:53 -07:00
Philip Hayes
9dd20575b3 sgx-sdk: disable mtime in bundled zip file for reproducible builds
Context:

The `aesm_service` binary depends on a vendored library called
`CppMicroServices`. At build time, this lib creates and then bundles
service resources into a zip file and then embeds this zip into the
binary. Without changes, the `aesm_service` will be different after every
build because the embedded zip file contents have different modified times.

All credits to @haraldh for this patch <3
2024-03-06 17:20:30 -08:00
Philip Hayes
fd3978c164 sgx-sdk: add 'phlip9' as maintainer of sgx packages 2024-03-06 17:20:24 -08:00
Philip Hayes
422a893019 sgx-psw: 2.21 -> 2.23 2024-03-06 16:51:11 -08:00
Philip Hayes
84ba69f030 sgx-psw: more robust stripping w/o touching enclaves 2023-12-21 13:25:51 +01:00
Philip Hayes
77d43f5fb8 sgx-psw: 2.16 -> 2.21
* Updated platform enclaves.
* Re-enable parallel build; seems to work properly across several
  different machines.
* Ensure all non-enclave libs get stripped so we don't add `gcc` to the
  runtime closure.
* I'm not sure what the value of providing a non-platfrom /bin/mount is
  for non-NixOS users for a service that isn't used that only bloats
  closure size.
2023-12-21 13:25:50 +01:00
Theodore Ni
b14fcda6c0 sgx-psw: disable fortify3 hardening flag 2023-07-12 22:35:45 -07:00
Artturin
fe1c7a1945 treewide: remove usages of header and stopNest
they're obsolete
2023-01-16 00:08:12 +02:00
Andreas Stührk
da0dc8339c nixos/aesmd: add option to configure quote provider library
Changes sgx-psw to append `aesm` to `LD_LIBRARY_PATH`:
- Append instead of prepend to allow for overriding in service config
- As we already add a wrapper to add `aesm` to `LD_LIBRARY_PATH` it is
  not necessary to also set in `LD_LIBRARY_PATH` of the systemd service.

Co-authored-by: Vincent Haupert <mail@vincent-haupert.de>
2022-12-04 20:12:50 +01:00
Artturi
4f337a99de Merge pull request #167571 from veehaitch/sgx-2.16
sgx-sdk, sgx-psw: 2.15.1 -> 2.16
2022-05-08 16:00:56 +03:00
Vincent Haupert
02e6180ce7 sgx-psw: 2.15.1 -> 2.16 2022-04-06 21:36:44 +02:00
Naïm Favier
9160044f5f treewide/makeWrapper: replace --run cd with --chdir
Lay the groundwork for switching to binary wrappers by reducing uses
of `--run` (which is not supported by `makeBinaryWrapper`).
2022-03-19 09:46:31 +01:00
Vincent Haupert
4f7f8d0b2d sgx-sdk, sgx-psw: 2.14 -> 2.15.1
Also add some of the new samples as tests. Disable parallel builds for
the samples as they don't seem to support it (fail randomly).
2021-12-15 13:09:18 +01:00
Vincent Haupert
d6cc0ad96e nixosTests.aesmd: init 2021-12-10 10:18:31 +01:00
Vincent Haupert
92c24a12a7 sgx-sdk, sgx-psw: add debug argument 2021-12-10 10:04:02 +01:00
Vincent Haupert
dd79220bca sgx-psw: init at 2.14.100.2
Co-authored-by: Alex Zero <joseph@marsden.space>
2021-12-10 10:04:02 +01:00