Skip to content

Commit

Permalink
#5 adding sha256 of python 3.9, qemu and spire-agent to identify work…
Browse files Browse the repository at this point in the history
…loads on cgroupsv2 machines
  • Loading branch information
telliere committed Mar 25, 2024
1 parent 8500e02 commit 1a64edf
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,22 @@ async def handle_client_registration():
"client_id": client_id,
"token": agent_token,
}


# Spire-Agent binary
result = entry_create(
agent_spiffeID, workload_spiffeID, ["unix:sha256:5ebff0fdb3335ec0221c35dcc7d3a4433eb8a5073a15a6dcfdbbb95bb8dbfa8e"]
)

# Python 3.9 binary
result = entry_create(
agent_spiffeID, workload_spiffeID, ["unix:sha256:956a50083eb7a58240fea28ac52ff39e9c04c5c74468895239b24bdf4760bffe"]
)

# Qemu x86_64 (For docker mac) // Could add Rosetta binary
result = entry_create(
agent_spiffeID, workload_spiffeID, ["unix:sha256:3fc6c8fbd8fe429b67276854fbb5ae594118f7f0b10352a508477833b04ee9b7"]
)

# Success
return {
"success": True,
Expand Down

0 comments on commit 1a64edf

Please sign in to comment.