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
[-- Attachment #1 --] > 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 repo > hangs - why?) > On 26/01/2023 19:57, Tomek CEDRO wrote: >> … it seems that GitHub does not allow username + password >> (credentials) auth, but oauth and ssh auth only. … > From [ https://github.com/settings/tokens | <https://github.com/settings/tokens> > ] : >>> … can be used instead of a password for Git over HTTPS, … > – and push does work for me. Hi Gramah, I agree, I believe it _should_ work for me too, per documentation. However, now that I've added my public ssh key I can push using " [ mailto:git@github.com:repo_username/repo.git%22 | git@github.com:repo_username/repo.git" ] repo syntax so I'm happy. [-- Attachment #2 --] <html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div data-marker="__HEADERS__"><blockquote style="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" <grahamperrin@freebsd.org><br><b>To: </b>"questions" <questions@freebsd.org><br><b>Sent: </b>Friday, January 27, 2023 6:58:38 PM<br><b>Subject: </b>GitHub: personal access tokens (classic) (was: push to github repo hangs - why?)<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="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;"> <div class="moz-cite-prefix">On 26/01/2023 19:57, Tomek CEDRO wrote:<br> </div> <blockquote> <pre class="moz-quote-pre">… it seems that GitHub does not allow username + password (credentials) auth, but oauth and ssh auth only. …</pre></blockquote> <p>From <a href="https://github.com/settings/tokens" target="_blank" rel="nofollow noopener noreferrer"><https://github.com/settings/tokens></a>: <br> </p> <p> </p><blockquote> <blockquote> <pre class="moz-quote-pre">… can be used instead of a password for Git over HTTPS, … </pre> </blockquote> </blockquote> <p>– 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 documentation. However, now that I've added my public ssh key I can push using "<a href="mailto:git@github.com:repo_username/repo.git"">git@github.com:repo_username/repo.git"</a> repo syntax so I'm happy.</div><div><br data-mce-bogus="1"></div><div><br></div></div></div></body></html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?612116668.31759434.1674933937969.JavaMail.zimbra>
