-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
I'm debugging SSH clones from Objective-Git. I already asked for some help on SO but even though @carlosmn answer was helpful, I still have to DIY and sadly I don't get much docs to help me ;-).
So, I see that git_credtype_t enum with its 3 values represent a requested credential type. I also see that here they're or'ed — which I wasn't expecting from the looks of the enum, which means that GIT_CREDTYPE_USERPASS_PLAINTEXT | GIT_CREDTYPE_SSH_KEYFILE_PASSPHRASE == GIT_CREDTYPE_SSH_PUBLICKEY, but then this loses me completely...
My current test is cloning the Objective-Git repo from my git:// URL, which correctly triggers an authentication request. But now, I'm more or less forced to ignore the allowed_types parameter — which I'm happily doing, that's testing after all ;-) — and bump ssh keys around to make it work (using #1851 I'm getting "Username/PublicKey combination invalid" which means an error on my side).
I can happily make a PR fixing the weirdness I find as I see them, provided I get some guidance because hem I have no idea how it should work ;-).