macaron icon indicating copy to clipboard operation
macaron copied to clipboard

Disabling GIT_TERMINAL_PROMPT is insufficient in some cases

Open benmss opened this issue 2 years ago • 1 comments

During analysis, Macaron's intent is to disable all UI prompts with regards to GitHub logins. For this purpose, the environment variable GIT_TERMINAL_PROMPT is set to False (see: Git Docs). However, in some cases that environment variable is insufficient. As also seen in the Git config docs (link), the environment variables GIT_ASKPASS and SSH_ASKPASS can also cause a prompt to appear, as can the related config value core.askPass.

As the current Macaron Docker image does not suffer from this problem, for now it is only a concern for users trying to run Macaron outside of that environment.

benmss avatar Jul 12 '23 04:07 benmss

Technically those are Git docs, not GitHub docs (signed, a contributor to both)

jsoref avatar Jan 21 '24 09:01 jsoref