racket / racket-pkg-website

A frontend for the Racket Package Catalog.
Other
11 stars 16 forks source link

Remove support for unencrypted git transports. (git:// and http://) #62

Closed technomancy closed 7 years ago

technomancy commented 7 years ago

Downloading executable code from a git repository that doesn't have encryption is inadvisable since it can be intercepted and replaced by a man-in-the-middle attacker. GitHub recommends doing clones over HTTPS, and according to mflatt even if you request the git:// transport it will be ignored and https:// is used scenes anyway, so we shouldn't claim to support it.

It may make sense to allow SSH connections as well as HTTPS, but I don't think the "transport" drop-down is a good idea for this since you need to specify a username when making an SSH connection.

technomancy commented 7 years ago

Any thoughts on this?

jeapostrophe commented 7 years ago

I think it is a good idea and will merge it shortly.

technomancy commented 7 years ago

Thanks!