Commits


wip


plug leak on BIO_new error path


actually generate a random token and send it to the subprocesses


use uid instead of username as string


teach gotwebd how to decode the tokens


fix client_write


actually implement the token generation


minor refactor and actually check the cookie


fix out of bounds


wip


gotwebd: handle the ?login query parameter for now the token is just a dummy "42". We still need to parse this in incoming requests too.


simplify gotsh weblogin


gotwebd: start to implement the auth feature rearranged the code a bit; let's use a bufferevent since we're not going to use imsg for this anyway. for now it just replies back with a dummy URL.


gotsh: fix usage


add an auth process to gotwebd (WIP: it receives requests, but does nothing)


implement gotsh weblogin command


improve binary blob detection just like the change just done in diff.git, consider a blob binary if it has any control character (except for the tabs) joint work with jtt@, ok stsp@


sync files from diff.git 543aed44ef221a67c386d967ec45907fb129194b improve binary files detection instead of 'just' looking for NUL, consider a file binary if it has any control charcters (except our beloved tabs characters). joint work with jtt@, ok stsp@


preserve bad symlinks across merges ok stsp@ and op@


fix math in fcgi_send_response We can't hit actually hit this because our buffers are way smaller than FCGI_CONTENT_SIZE (65536) but if we were, we'd end up sending wrong fastcgi packets. found with / ok stsp@


the gotsys auth/hmac index must be globally unique, not unique per repository tested by Mischa Peters


fix gotsysd using wrong auth and hmac labels in the generated gotd.conf Problem reported by Mischa Peters


make got-read-pack exit from repaint_parent_commits() upon SIGINT


ensure that error messages from gotsysd libexec helpers get logged


gotsysd regress: use a better default mirror; cdn is slow for snapshots