passforios icon indicating copy to clipboard operation
passforios copied to clipboard

Cannot sync with Github after enableing 2FA

Open mhbkamaei opened this issue 6 months ago • 2 comments

Since enabling two-factor authentication (2FA) has become mandatory on GitHub, I activated this feature. However, every time I attempt to sync the repository afterward, I encounter the following error:

Underlying Error: GTCredentialProvider failed to provide credentials

mhbkamaei avatar Jul 04 '25 17:07 mhbkamaei

fwiw, in the past week i seem to have a similar error with gitlab.com, both from my iphone and my ipad.

greg-minshall avatar Aug 22 '25 20:08 greg-minshall

@mhbkamaei i was using a 1024-bit RSA key, which i notice gitlab (at least) deprecates.

i switched to using an EC25519 key.

ssh-keygen -t ed25519 -C "[email protected]"

now i can clone. (i don't know why i could still interact from my linux box, but not via passforios, so ymmv.)

good luck.

greg-minshall avatar Aug 23 '25 21:08 greg-minshall