From nobody Sat Jan 28 19:25:37 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P44D32ZjDz3bwM7 for ; Sat, 28 Jan 2023 19:25:39 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P44D30Sd3z4MST; Sat, 28 Jan 2023 19:25:38 +0000 (UTC) (envelope-from dalescott@shaw.ca) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id LmX9pXQ51c9C4LqpWp23CX; Sat, 28 Jan 2023 19:25:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1674933938; bh=Qd/q2/vWhO/M1c47EDUD5NS0Cf5kO7bSpnrenj2odYI=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=sAEjhif0p8FSmUUJDDVBmBhWZW6HAJkACUawPn2tjJLD+FEVG6g0W0qFbndDp6mxO 7mm6WthwVxZ0f4ySwSdOaEDXFQlFA3leP2/zi2cNPHjEJC/HDlKZZcGyrHyyg0zK9R HVf1KtzfgaD2ADXbeFrdOG1lQYBgkhMVlbOm81Q/PZa4ugimx5cspSo7HFfjpfRjEC jUR+YVOTVz4eRfdUpxxIhT7tNXGqU/vhQI9wFSuMlikzzkRXiixH20g2jTF3cuRP9j wNOjxg73lxXh7qlmcKeWmePfg9LGqLyUmTFK64qZBRAK1vU68yrgRqyPwJXQfJhFcM nHnnGt7ze4OaA== Received: from cds220.dcs.int.inet ([64.59.134.6]) by cmsmtp with ESMTP id LqpWp35stcyvuLqpWpMsdf; Sat, 28 Jan 2023 19:25:38 +0000 X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=63d576b2 a=9zdlX7M534QhL7mOrorEvQ==:117 a=FKkrIqjQGGEA:10 a=RDteU5_PNoYA:10 a=6I5d2MoRAAAA:8 a=NEAV23lmAAAA:8 a=1T-h2lDFWWSUtfJSKAUA:9 a=QEXdDO2ut3YA:10 a=LRPHy4RezhYK8UNtQxwA:9 a=yLk3W4pEg5Klci68:21 a=_W_S_7VecoQA:10 a=lqcHg5cX4UMA:10 a=IjZwj45LgO3ly-622nXo:22 Date: Sat, 28 Jan 2023 12:25:37 -0700 (MST) From: Dale Scott To: Graham Perrin Cc: questions 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> <1461614347.22885986.1674746677113.JavaMail.zimbra@shaw.ca> <0dbd092d-9612-1704-e6a2-36ee366a9d70@freebsd.org> Subject: Re: GitHub: personal access tokens (classic) (was: push to github repo hangs - why?) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_8d7b37a7-b5df-4bbe-a7f2-528240ed722e" X-Originating-IP: [174.0.43.39, 174.0.43.39] X-Mailer: Zimbra 8.8.15_GA_4464 (ZimbraWebClient - GC109 (Linux)/8.8.15_GA_4468) Thread-Topic: GitHub: personal access tokens (classic) (was: push to github repo hangs - why?) Thread-Index: 3VWmiNuvRH1A4L7XzXJxh6IUZ6pHHg== X-CMAE-Envelope: MS4xfOLY9/ADeezlyGBA4bX1hMLhPJodLOI/RKIOd8wG2vJTVHtTMQZGUIYt1ghpqmZhvA8irxB2AfM2wXIdA+cfpgVTrv8rBKwV1Fma7JJ4rLpxwp1Hwc5U 2OG1SVhw24Zla3KrYIYYqoSHbJJtDsv284azfWDLrH+dxcTRGUCD1jpD/Oib6kLQLDZdBWY5GObuOIeFN0J/fQmLq/muZeBsYbVmvD1lPjz/ITHNNRaR4dmC X-Rspamd-Queue-Id: 4P44D30Sd3z4MST X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --=_8d7b37a7-b5df-4bbe-a7f2-528240ed722e Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > From: "Graham Perrin" > To: "questions" > 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 | > ] : >>> =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
From: "Graham Perrin" &l= t;grahamperrin@freebsd.org>
To: "questions" <questions@free= bsd.org>
Sent: Friday, January 27, 2023 6:58:38 PM
Subje= ct: GitHub: personal access tokens (classic) (was: push to github repo = hangs - why?)
On 26/01/2023 19:57, Tomek CEDRO wrote:<= br>
=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/toke= ns>:

=E2=80=A6 can be used instead of a p=
assword for Git over HTTPS, =E2=80=A6
=20

=E2=80=93 and push does work for me.


=
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 "git@github.com= :repo_username/repo.git" repo syntax so I'm happy.


--=_8d7b37a7-b5df-4bbe-a7f2-528240ed722e--