Skip to content

Commit 9582130

Browse files
davidhicksmgorny
authored andcommitted
leechcraft.eclass: Always use HTTPS for accessing GitHub
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.
1 parent 30e6e7c commit 9582130

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

eclass/leechcraft.eclass

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ esac
2828
inherit cmake-utils
2929

3030
if [[ ${PV} == 9999 ]]; then
31-
EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git
32-
https://github.com/0xd34df00d/leechcraft.git"
31+
EGIT_REPO_URI="https://github.com/0xd34df00d/leechcraft.git"
3332

3433
inherit git-r3
3534
else

0 commit comments

Comments
 (0)