git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Derrick Stolee <stolee@gmail.com>
To: Jean-Philippe LEGOUPIL Free <legoupil.jp@free.fr>, git@vger.kernel.org
Subject: Re: TR: [GitHub] Deprecation Notice
Date: Mon, 5 Apr 2021 16:10:56 -0400	[thread overview]
Message-ID: <fff8fb90-7995-d364-d54a-037cc1094dd1@gmail.com> (raw)
In-Reply-To: <027b01d72a07$3593b810$a0bb2830$@free.fr>

On 4/5/2021 6:34 AM, Jean-Philippe LEGOUPIL Free wrote:
> 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).

> -----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

      reply	other threads:[~2021-04-05 20:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <606968f85bfd6_3ff71824384fc@lowworker-78946b45bb-cr8gn.mail>
2021-04-05 10:34 ` TR: [GitHub] Deprecation Notice Jean-Philippe LEGOUPIL Free
2021-04-05 20:10   ` Derrick Stolee [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fff8fb90-7995-d364-d54a-037cc1094dd1@gmail.com \
    --to=stolee@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=legoupil.jp@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).