Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2023 12:25:37 -0700 (MST)
From:      Dale Scott <dalescott@shaw.ca>
To:        Graham Perrin <grahamperrin@freebsd.org>
Cc:        questions <questions@freebsd.org>
Subject:   Re: GitHub: personal access tokens (classic) (was: push to github repo hangs - why?)
Message-ID:  <612116668.31759434.1674933937969.JavaMail.zimbra@shaw.ca>
In-Reply-To: <0dbd092d-9612-1704-e6a2-36ee366a9d70@freebsd.org>
References:  <2088347522.21487875.1674704156310.JavaMail.zimbra@shaw.ca> <CAFYkXjkR9W85Wq8bwqc_m3C%2Brgx98njzBd9mVxS3pAnSwgc2Pg@mail.gmail.com> <1461614347.22885986.1674746677113.JavaMail.zimbra@shaw.ca> <CAFYkXjmrBv_mgoxdvipKUCPpSY%2BPYbNYnDfbJ0e912tQeg5ZVA@mail.gmail.com> <0dbd092d-9612-1704-e6a2-36ee366a9d70@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=_8d7b37a7-b5df-4bbe-a7f2-528240ed722e
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

> From: "Graham Perrin" <grahamperrin@freebsd.org>
> To: "questions" <questions@freebsd.org>
> Sent: Friday, January 27, 2023 6:58:38 PM
> Subject: GitHub: personal access tokens (classic) (was: push to github re=
po
> hangs - why?)

> On 26/01/2023 19:57, Tomek CEDRO wrote:

>> =E2=80=A6 it seems that GitHub does not allow username + password
>> (credentials) auth, but oauth and ssh auth only. =E2=80=A6

> From [ https://github.com/settings/tokens | <https://github.com/settings/=
tokens>
> ] :

>>> =E2=80=A6 can be used instead of a password for Git over HTTPS, =E2=80=
=A6

> =E2=80=93 and push does work for me.
Hi Gramah, I agree, I believe it _should_ work for me too, per documentatio=
n. However, now that I've added my public ssh key I can push using " [ mail=
to:git@github.com:repo_username/repo.git%22 | git@github.com:repo_username/=
repo.git" ] repo syntax so I'm happy.=20

--=_8d7b37a7-b5df-4bbe-a7f2-528240ed722e
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"font-family: arial, helvetica, sans-serif; font-s=
ize: 10pt; color: #000000"><div data-marker=3D"__HEADERS__"><blockquote sty=
le=3D"border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:=
#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:=
Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Graham Perrin" &l=
t;grahamperrin@freebsd.org&gt;<br><b>To: </b>"questions" &lt;questions@free=
bsd.org&gt;<br><b>Sent: </b>Friday, January 27, 2023 6:58:38 PM<br><b>Subje=
ct: </b>GitHub: personal access tokens (classic) (was: push to github repo =
hangs - why?)<br></blockquote></div><div data-marker=3D"__QUOTED_TEXT__"><b=
lockquote style=3D"border-left:2px solid #1010FF;margin-left:5px;padding-le=
ft:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none=
;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
    <div class=3D"moz-cite-prefix">On 26/01/2023 19:57, Tomek CEDRO wrote:<=
br>
    </div>
    <blockquote>
      <pre class=3D"moz-quote-pre">=E2=80=A6 it seems that GitHub does not =
allow username + password
(credentials) auth, but oauth and ssh auth only. =E2=80=A6</pre></blockquot=
e>
    <p>From <a href=3D"https://github.com/settings/tokens" target=3D"_blank=
" rel=3D"nofollow noopener noreferrer">&lt;https://github.com/settings/toke=
ns&gt;</a>: <br>
    </p>
    <p>
      </p><blockquote>
        <blockquote>
          <pre class=3D"moz-quote-pre">=E2=80=A6 can be used instead of a p=
assword for Git over HTTPS, =E2=80=A6
</pre>
        </blockquote>
      </blockquote>
   =20
    <p>=E2=80=93 and push does work for me.</p></blockquote><div><br></div>=
<div>Hi Gramah, I agree, I believe it _should_ work for me too, per documen=
tation. However, now that I've added my public ssh key I can push using "<a=
 href=3D"mailto:git@github.com:repo_username/repo.git&quot;">git@github.com=
:repo_username/repo.git"</a> repo syntax so I'm happy.</div><div><br data-m=
ce-bogus=3D"1"></div><div><br></div></div></div></body></html>
--=_8d7b37a7-b5df-4bbe-a7f2-528240ed722e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?612116668.31759434.1674933937969.JavaMail.zimbra>