-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Windows agent connected to via SSH
Due to known incompatibility between SSH connectivity to agents and the Windows Credentials Manager (wincredman) – see https://github.com/git-ecosystem/git-credential-manager/blob/main/docs/credstores.md#windows-credential-manager – I attempted to switch to using the DPAPI credential store as recommended. However, that results in this error when using withCredentials with a gitUsernamePassword username+password credential specified:
fatal: Cannot prompt because user interactivity has been disabled.
I've been able to use this same credential successfully with this same approach on Linux agents (also connected via SSH) with their default Git credential store on Linux (which is neither wincredman nor DPAPI), so am assuming it's not an issue with the credential itself.
Is this error a bug/incompatibility between the Credentials Binding plugin and the use of DPAPI? I got the same error in attempting to use the "plaintext" credential store as well.