Github Desktop for windows Fails - using passwords?

I am also running into issues after the Friday the 13th changes that no longer support password access.
Note: I asked about most of the same stuff in a response for the CLI issues, but thought that maybe better as it’s own thread.

I did receive some warning during the time frame, but figured it was from some command lines I used at different times. I did not worry much about it as the website:

Said: “Desktop applications using Git (GitHub Desktop is unaffected)”

But that appears to not be correct, as I can not get my Windows 10 machine to upload anything to github through either the CLI or the Github desktop. For example tried pushing up change to a read me file using the desktop:
image
I went up tried logging off and logging on, still does it.

Over the weekend I tried uninstalling both Git and Github desktop, I tried to delete most all of the git configuration files I know of, except not the git files that are in each project (I think I have over 200)

I reinstalled both, Repopulated most of the projects into desktop using drag and drop. Still same issue. I went to the credentials manager and deleted the github one. I changed the password to my github account…

On one project I got around it first time, by copying files to my Linux install and then had editor change line endings… And then upload…

Since then I have pushed up several changes by having a Ubuntu window open on my Windows 10 machine, and using git from there to push up the changes using PAT… Note: the CLI on WIndows 10 does not prompt me for password are anything It just also gives similar error:

D:\GitHub\AX12_Phoenix_PhantomX_float>git push
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://github.com/mjs513/AX12_Phoenix_PhantomX_float.git/': The requested URL returned error: 403

D:\GitHub\AX12_Phoenix_PhantomX_float>git remote -v
origin  https://github.com/KurtE/AX12_Phoenix_PhantomX_float.git (fetch)
origin  https://github.com/KurtE/AX12_Phoenix_PhantomX_float.git (push)
upstream        https://github.com/mjs513/AX12_Phoenix_PhantomX_float.git (fetch)
upstream        https://github.com/mjs513/AX12_Phoenix_PhantomX_float.git (push)

So question is what obvious thing am I missing?

Thanks in advance!
Kurt

I believe there is somewhere on my machine that is caching the password or the like to github which is interfering. with GIT here. When I try it from a different machine it works, Again I have removed github and git a few times. Tried to delete any global git/github files.

Did find some places that from long ago was in like a hosts file, which I removed. like in a .ssh file…

I tried using regedit and removed anything that looked like maybe??? Deleted the credentials multiple times. But for example if I don’t have anything set for: git config --globals user…
It sill does not prompt nor complain about it.

Not sure if this helps but here is some debug output trying to do a push:

D:\GitHub\MemoryHexDump>set GIT_CURL_VERBOSE=1

D:\GitHub\MemoryHexDump>git push origin main
05:22:51.133492 http.c:781              == Info:   Trying 192.30.255.112:443...
05:22:51.178276 http.c:781              == Info: Connected to github.com (192.30.255.112) port 443 (#0)
05:22:51.199194 http.c:781              == Info: ALPN, offering h2
05:22:51.199194 http.c:781              == Info: ALPN, offering http/1.1
05:22:51.261645 http.c:781              == Info: successfully set certificate verify locations:
05:22:51.261645 http.c:781              == Info:  CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
05:22:51.261645 http.c:781              == Info:  CApath: none
05:22:51.276313 http.c:781              == Info: TLSv1.3 (OUT), TLS handshake, Client hello (1):
05:22:51.299674 http.c:781              == Info: TLSv1.3 (IN), TLS handshake, Server hello (2):
05:22:51.300359 http.c:781              == Info: TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
05:22:51.300359 http.c:781              == Info: TLSv1.3 (IN), TLS handshake, Certificate (11):
05:22:51.311924 http.c:781              == Info: TLSv1.3 (IN), TLS handshake, CERT verify (15):
05:22:51.311924 http.c:781              == Info: TLSv1.3 (IN), TLS handshake, Finished (20):
05:22:51.311924 http.c:781              == Info: TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
05:22:51.311924 http.c:781              == Info: TLSv1.3 (OUT), TLS handshake, Finished (20):
05:22:51.312941 http.c:781              == Info: SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
05:22:51.312941 http.c:781              == Info: ALPN, server accepted to use h2
05:22:51.312941 http.c:781              == Info: Server certificate:
05:22:51.312941 http.c:781              == Info:  subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=github.com
05:22:51.312941 http.c:781              == Info:  start date: Mar 25 00:00:00 2021 GMT
05:22:51.312941 http.c:781              == Info:  expire date: Mar 30 23:59:59 2022 GMT
05:22:51.312941 http.c:781              == Info:  subjectAltName: host "github.com" matched cert's "github.com"
05:22:51.312941 http.c:781              == Info:  issuer: C=US; O=DigiCert, Inc.; CN=DigiCert High Assurance TLS Hybrid ECC SHA256 2020 CA1
05:22:51.312941 http.c:781              == Info:  SSL certificate verify ok.
05:22:51.317143 http.c:781              == Info: Using HTTP2, server supports multi-use
05:22:51.317143 http.c:781              == Info: Connection state changed (HTTP/2 confirmed)
05:22:51.318994 http.c:781              == Info: Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
05:22:51.318994 http.c:781              == Info: Using Stream ID: 1 (easy handle 0x242fcd55a68)
05:22:51.319510 http.c:728              => Send header, 0000000199 bytes (0x000000c7)
05:22:51.319510 http.c:740              => Send header: GET /KurtE/MemoryHexDump.git/info/refs?service=git-receive-pack HTTP/2
05:22:51.319510 http.c:740              => Send header: Host: github.com
05:22:51.319510 http.c:740              => Send header: user-agent: git/2.33.0.windows.1
05:22:51.319510 http.c:740              => Send header: accept: */*
05:22:51.319510 http.c:740              => Send header: accept-encoding: deflate, gzip, br, zstd
05:22:51.319510 http.c:740              => Send header: pragma: no-cache
05:22:51.319510 http.c:740              => Send header:
05:22:51.353768 http.c:781              == Info: TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
05:22:51.353768 http.c:781              == Info: TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
05:22:51.353768 http.c:781              == Info: old SSL session ID is stale, removing
05:22:51.479065 http.c:728              <= Recv header, 0000000013 bytes (0x0000000d)
05:22:51.479065 http.c:740              <= Recv header: HTTP/2 401
05:22:51.479065 http.c:728              <= Recv header, 0000000026 bytes (0x0000001a)
05:22:51.479065 http.c:740              <= Recv header: server: GitHub Babel 2.0
05:22:51.479065 http.c:728              <= Recv header, 0000000026 bytes (0x0000001a)
05:22:51.480024 http.c:740              <= Recv header: content-type: text/plain
05:22:51.480024 http.c:728              <= Recv header, 0000000054 bytes (0x00000036)
05:22:51.480024 http.c:740              <= Recv header: content-security-policy: default-src 'none'; sandbox
05:22:51.480024 http.c:728              <= Recv header, 0000000020 bytes (0x00000014)
05:22:51.480024 http.c:740              <= Recv header: content-length: 26
05:22:51.480024 http.c:728              <= Recv header, 0000000040 bytes (0x00000028)
05:22:51.480024 http.c:740              <= Recv header: www-authenticate: Basic realm="GitHub"
05:22:51.480024 http.c:728              <= Recv header, 0000000023 bytes (0x00000017)
05:22:51.480024 http.c:740              <= Recv header: x-frame-options: DENY
05:22:51.480024 http.c:728              <= Recv header, 0000000055 bytes (0x00000037)
05:22:51.480024 http.c:740              <= Recv header: x-github-request-id: EB8A:710A:598A8A:64188F:611E4D1C
05:22:51.480024 http.c:728              <= Recv header, 0000000002 bytes (0x00000002)
05:22:51.480024 http.c:740              <= Recv header:
05:22:51.480024 http.c:781              == Info: Ignoring the response-body
05:22:51.480024 http.c:781              == Info: Connection #0 to host github.com left intact
05:22:51.480024 http.c:781              == Info: Issue another request to this URL: 'https://github.com/KurtE/MemoryHexDump.git/info/refs?service=git-receive-pack'
05:22:51.481021 http.c:781              == Info: Found bundle for host github.com: 0x242fcd5cfb0 [can multiplex]
05:22:51.481021 http.c:781              == Info: Re-using existing connection! (#0) with host github.com
05:22:51.481021 http.c:781              == Info: Connected to github.com (192.30.255.112) port 443 (#0)
05:22:51.481021 http.c:781              == Info: Server auth using Basic with user 'KurtE'
05:22:51.481021 http.c:781              == Info: Using Stream ID: 3 (easy handle 0x242fcd55a68)
05:22:51.481021 http.c:728              => Send header, 0000000250 bytes (0x000000fa)
05:22:51.481021 http.c:740              => Send header: GET /KurtE/MemoryHexDump.git/info/refs?service=git-receive-pack HTTP/2
05:22:51.481021 http.c:740              => Send header: Host: github.com
05:22:51.481021 http.c:740              => Send header: authorization: Basic S3VydEU6Q2xhcmVJc1BhbmRhMg==
05:22:51.481021 http.c:740              => Send header: user-agent: git/2.33.0.windows.1
05:22:51.481021 http.c:740              => Send header: accept: */*
05:22:51.481021 http.c:740              => Send header: accept-encoding: deflate, gzip, br, zstd
05:22:51.481021 http.c:740              => Send header: pragma: no-cache
05:22:51.481021 http.c:740              => Send header:
05:22:51.620357 http.c:728              <= Recv header, 0000000013 bytes (0x0000000d)
05:22:51.620357 http.c:740              <= Recv header: HTTP/2 403
05:22:51.620357 http.c:728              <= Recv header, 0000000026 bytes (0x0000001a)
05:22:51.620357 http.c:740              <= Recv header: server: GitHub Babel 2.0
05:22:51.620357 http.c:728              <= Recv header, 0000000026 bytes (0x0000001a)
05:22:51.620357 http.c:740              <= Recv header: content-type: text/plain
05:22:51.620357 http.c:728              <= Recv header, 0000000054 bytes (0x00000036)
05:22:51.620357 http.c:740              <= Recv header: content-security-policy: default-src 'none'; sandbox
05:22:51.620357 http.c:728              <= Recv header, 0000000023 bytes (0x00000017)
05:22:51.620357 http.c:740              <= Recv header: x-frame-options: DENY
05:22:51.620357 http.c:728              <= Recv header, 0000000055 bytes (0x00000037)
05:22:51.620357 http.c:740              <= Recv header: x-github-request-id: EB8A:710A:598A91:641899:611E4D1C
05:22:51.620357 http.c:728              <= Recv header, 0000000002 bytes (0x00000002)
05:22:51.620357 http.c:740              <= Recv header:
05:22:51.620357 http.c:781              == Info: Connection #0 to host github.com left intact
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://github.com/KurtE/MemoryHexDump.git/': The requested URL returned error: 403

D:\GitHub\M

Any suggestions on where I may have many years ago cached the connection information to Git/github
would be appreciated… Getting close to being tempted to replace computer and start from scratch…

Thanks in advance
Kurt

Fixed it…

Found the file: c:\users\kurte\_netrc
That looked something like: (Edited the password)

machine github.com
       login KurtE
       password ThePassWord

I deleted it and now github desktop for windows and git works, with the updated validation