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
Describe what should be investigated or refactored
When printing credentials to the debug log the log file writer is paused temporarily to avoid writing the credentials to the log file. The way this is implemented is not thread safe, meaning the it is completely possible for the writer to be resumed if PrintCredentialTable is run in parallel.
Describe what should be investigated or refactored
When printing credentials to the debug log the log file writer is paused temporarily to avoid writing the credentials to the log file. The way this is implemented is not thread safe, meaning the it is completely possible for the writer to be resumed if PrintCredentialTable is run in parallel.
Links to any relevant code
https://github.com/defenseunicorns/zarf/blob/eca0c530a04c3ed155c03761eb45bd16ba717b79/src/pkg/message/credentials.go#L31-L35
Additional context
N/A
The text was updated successfully, but these errors were encountered: