passforios
passforios copied to clipboard
Cannot sync with Github after enableing 2FA
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
fwiw, in the past week i seem to have a similar error with gitlab.com, both from my iphone and my ipad.
@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.