GCM core

現状のリポジトリ管理サービスへの認証が1要素認証だから、2要素、多要素認証が使えるようにしようっていうことだと読み取った

The Git Credential Manager for Windows (GCM for Windows) was created back in 2015 primarily to address the combined problem of a lack of SSH support in Azure Repos, then named Visual Studio Online, and a hard requirement for 2FA for many Azure Active Directory or Microsoft Account users – the authentication providers supported by Azure Repos. Over time GCM for Windows also gained support for GitHub and Bitbucket authentication through open-source contributions. Git for Windows initially shipped only with a C-based credential helper named wincred which just persisted a username/password, and did nothing regarding 2FA.


To manage all of this, Git relies on tools called credential managers which handle authentication to different hosting services. When first designed, these tools simply stored usernames and passwords in a secure location for later retrieval (e.g., your keychain, in an encrypted file, etc). These days, two-factor authentication (2FA) is commonly required to keep your data secure. This complicates the authentication story significantly since new and existing tools are required to meet the demands of these stricter authentication models.

github.blog

ssh接続を1要素認証。azureへのログインを多要素認証、github, bitbucketへの認証を2要素認証と書いているよう(下記current-status参照)

Windows Credential Manager、mac os keychainが利用できる。linux gnome-keyringが予定されているが、まだ予定に入っていない

current-status

f:id:kazuki_nakamura:20200705190623p:plain

planned features

f:id:kazuki_nakamura:20200705190655p:plain

github.com

github.blog

さらっと検索したり、issues検索したけど、wsl2っていう単語が見当たらないから、まだ対応してないっぽい。ってことでまだ導入しない

GCM core と Git Credential Manager っていう単語が出てきて最初同じものかと戸惑った。が別物だった。

Git Credential Manager for Windowsが Git Credential Manager

Git Credential Manager CoreがGCM core