git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: TR: [GitHub] Deprecation Notice

From
Derrick Stolee <stolee@gmail.com>
Date
Apr 5, 2021, 20:10 UTC
Message-ID
<fff8fb90-7995-d364-d54a-037cc1094dd1@gmail.com>
In-Reply-To
<027b01d72a07$3593b810$a0bb2830$@free.fr>
On 4/5/2021 6:34 AM, Jean-Philippe LEGOUPIL Free wrote:
Show 7 quoted lines
> Hello,
> 
> I have installed your version of git on my computer, and setup AndroidStudio with it.
> 
> But I regularly receive now message below from GitHub but I don't know what to do to solve it (the associated link didn't help me...) because AndroidStudio seems to have token (???)
> 
> Can you help me please ?

Hi, JP. This is the Git mailing list, which focuses on the Git client. Your question regards the GitHub service, which generally doesn't do support here. However, there are several GitHub employees who read this list (including me).

Show 11 quoted lines
> -----Message d'origine-----
> De : GitHub [mailto:noreply@github.com] 
> Envoyé : dimanche 4 avril 2021 09:21
> À : Philoul
> Objet : [GitHub] Deprecation Notice
> 
> Hi @Philoul,
> 
> You recently used a password to access the repository at Philoul/AndroidAPS with git using git/2.30.0.windows.2.
> 
> Basic authentication using a password to Git is deprecated and will soon no longer work. Visit https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information around suggested workarounds and removal dates.

I'm a bit disappointed that the official post doesn't actually solve your problem completely. One aspect is that you should work on enabling two-factor auth through the user settings [1]. The other side of the equation is that you should authenticate in a way that doesn't use passwords. The recommended way (from my perspective) is to install Git-Credential-Manager Core (GCM Core) available at [2]. This will allow you to automatically authenticate with GitHub (and Azure Repos and BitBucket) using whatever 2FA you have set up without needing to generate PATs.

[1] https://github.com/settings/security
[2] https://github.com/microsoft/git-credential-manager-core/releases

Good luck! -Stolee

Previous: Jean-Philippe LEGOUPIL Free
Message 2 of 2 in “TR: [GitHub] Deprecation Notice”
  1. Jean-Philippe LEGOUPIL FreeApr 5, 2021
  2. Derrick StoleeApr 5, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.