You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A child process cannot affect the environment of its parent. So within the node runtime (or even with pnpm) there's no way to clear an environment variable from the system.
The worker start script, once the server has started, should delete WORKER_SECRET from the env.
This ensures that once the worker instance has the secret in memory, any attacker on the server can no longer access it.
This also means that the server can't be restarted without the container being destroyed (which is probably good)
The text was updated successfully, but these errors were encountered: