Microsoft/vscode

Source Control GUI doesn't prompt for yubikey auth on push/pull

开放

#276,691 创建于 2025年11月11日

 (2 条评论) (3 个反应) (1 位负责人)TypeScript (39,847 个派生)batch import
EnhancementGood first issuebuggithelp wantediOS

仓库指标

星标
 (184,936 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.105.1
  • OS Version: MacOS Sequoia 15.7.2; (Darwin arm64 24.6.0)

Steps to Reproduce:

  1. Set up a remote git repo requiring yubikey auth to login to account (e.g. Gitea)
  2. Use source control GUI to push / pull

Expected behaviour

Prompt user to use their yubikey

Actual behaviour

Error message window appears: "Git: Missing or invalid credentials".

Command output contains:

Missing or invalid credentials.
Error: Bad status code: 500
[redacted]
Permission denied (keyboard-interactive).
fatal: Could not read from remote repository.

However, using the integrated terminal does prompt for user interaction.

Many thanks a great program btw, VSCode rocks!

贡献者指南