CRUX

Welcome to CRUX bug tracking.
Tasklist

FS#1792 - Add HTTPS access to .git repositories

Attached to Project: CRUX
Opened by Steffen Nurpmeso (steffen) - Tuesday, 10 March 2020, 20:20 GMT
Task Type Feature Request
Category ports
Status New
Assigned To No-one
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.5
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The .git repositories can only be cloned via ssh or git, the latter is not protected, and the committs are not signed, so no security. Since now CRUX uses Let's Encrypt, why not offer secure access to the git repos also?

For my own website where i use lighttpd it is as easy as

$HTTP["url"] =~ "^/scm" {
server.max-keep-alive-requests = 1
alias.url = ("/scm" => "/usr/libexec/git-core/git-http-backend")
cgi.assign = ("" => "")
setenv.add-environment = (
"GIT_PROJECT_ROOT" => "/var/git",
"GIT_HTTP_EXPORT_ALL" => ""
)
}
This task depends upon

Loading...