Commit Briefs

397ec897bd Omar Polo

wip (op/gotwebd-auth)


f46ee42641 Omar Polo

plug leak on BIO_new error path



c2f8267c8b Omar Polo

use uid instead of username as string


eefd9f4fbe Omar Polo

teach gotwebd how to decode the tokens


b381377192 Omar Polo

fix client_write


c6bb203156 Omar Polo

actually implement the token generation


f8136a9d84 Omar Polo

minor refactor and actually check the cookie


4f6fd70573 Omar Polo

fix out of bounds


54366b5915 Omar Polo

wip


965c0f458f Omar Polo

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.


8432259a44 Omar Polo

simplify gotsh weblogin


7ada9d9d8a Omar Polo

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.


d60758d5d0 Omar Polo

gotsh: fix usage



ebf640832c Omar Polo

implement gotsh weblogin command


98958d75e9 Omar Polo

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@


c1b420179b Omar Polo

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@


e5cbb211a3 Johannes Thyssen Tishman

preserve bad symlinks across merges

ok stsp@ and op@


40e36ce530 Omar Polo

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@


3ced9adc82 Stefan Sperling

the gotsys auth/hmac index must be globally unique, not unique per repository

tested by Mischa Peters


8c7f82a788 Stefan Sperling

fix gotsysd using wrong auth and hmac labels in the generated gotd.conf

Problem reported by Mischa Peters