trustedsec / ptf

The Penetration Testers Framework (PTF) is a way for modular support for up-to-date tools.
5.16k stars 1.24k forks source link

force https for git ? #370

Closed freeload101 closed 6 years ago

freeload101 commented 6 years ago

So when updating at least dradis it's using plain text git the fix is to force git to use HTTPS but not sure if we make this part of PTF to force https ... ?

`

git config --global url."https://github.com/".insteadOf git@github.com:

git config --global url."https://".insteadOf git://

`

trustedsec commented 6 years ago

Thanks, good suggestion. Added, will be in next release.

bmedicke commented 3 years ago

Any chance that this could be undone? I prefer to use SSH with a key pair for my repos, and this is a global change that affects ALL repos of a user.

jeffmcjunkin commented 3 years ago

I agree, unfortunately. I'd label changing the global git configuration as an unexpected change, and one that's definitely bitten me a few times.