Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing guest-agent binary with support for all TEE_PLATFORMS for a specific CPU architecture #789

Open
bpradipt opened this issue Nov 7, 2024 · 4 comments

Comments

@bpradipt
Copy link
Member

bpradipt commented Nov 7, 2024

The current github action doesn't seem to publish artifact with support for all TEE_PLATFORMS for a specific architecture. Currently this is applicable only for x86_64 as there are different TEEs available.

Any plans to publish attestation-agent binary built for all TEE_PLATFORMS for x86_64 to start with?

@mkulke
Copy link
Contributor

mkulke commented Nov 23, 2024

it also depends on the libc being required/used and if you look at the table it's pretty fragmented

it would be

x86_64+musl = amd + cca (+ sample)
x86_64+gnu = tdx + az-cvm

@Xynnn007
Copy link
Member

Like @mkulke points out, for x86-64 we could use gnu as the libc for publishment.

@bpradipt
Copy link
Member Author

@mkulke @Xynnn007 thanks. Having a single binary makes usage easier for different environments.
However what will be the impact of yet another binary from a maintainability standpoint?
Is it acceptable to switch to gnu for all the x86_64 TEEs ?

@mkulke
Copy link
Contributor

mkulke commented Nov 25, 2024

I think musl is used to not ship a glibc and only statically linked binaries, so I expect that's not acceptable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants