Skip to content

Commit

Permalink
leechcraft.eclass: Always use HTTPS for accessing GitHub
Browse files Browse the repository at this point in the history
To prevent MITM attacks, always use HTTPS with GitHub domains. GitHub
supports "Smart HTTPS" git which means that shallow clones are possible
over HTTPS. Don't use a git:// fallback because this would allow an
attacker to always force fallback to an unsafe protocol.
  • Loading branch information
davidhicks authored and mgorny committed Jul 30, 2017
1 parent 30e6e7c commit 9582130
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eclass/leechcraft.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ esac
inherit cmake-utils

if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git
https://github.com/0xd34df00d/leechcraft.git"
EGIT_REPO_URI="https://github.com/0xd34df00d/leechcraft.git"

inherit git-r3
else
Expand Down

0 comments on commit 9582130

Please sign in to comment.