Commit Briefs


ae0afea04d Stefan Sperling

typo fix


b4358cd08e Stefan Sperling

require root-ownership of gotd-secrets.conf


f7520f7a43 Stefan Sperling

apply realpath() to the gotd -s argument


871cb200f7 Stefan Sperling

allow gotd_secrets_free() to be called with NULL pointer; fixes gotd regress

ok op@


3ecc530e68 Omar Polo

gitwrapper: add dummy gotd_secrets_get() to satisfy the linker

This function is the only reason we had to pull in secrets.c in gitwrapper, because it's needed for parse.y (even if it's never called.) ok stsp@


5fb267cb9e Omar Polo

initial gotd-secrets.conf implementation

This moves the handling of the secrets outside gotd.conf. There will be a few changes to this, committing it as-is to continue hacking in tree. ok stsp@


477e0bbd51 Omar Polo

style


730c805cb1 Omar Polo

rename ibuf -> imsgbuf


d50b6001c5 Omar Polo

gotd: unset notify user/pass too for symmetry


e7e510b603 Omar Polo

trailing whitespaces


d4982225ff Omar Polo

gotwebd: unbreak tags rendering

if qs->commit is set got_get_repo_tags interprets it as an index for the tags, i.e. to skip tags until one with that id is found. So we can't set qs->commit (intended to unbreak the README links) before it, we have to do it afterwards. ok stsp@


e4caa65830 Omar Polo

gotwebd: centralize the skip tag logic

No need to do it twice, just make sure the tailq has the correct entries where it's generated, so in the render code we don't have to duplicate the logic. ok stsp@


64d30f49d7 Stefan Sperling

set pointers to NULL after freeing in tog's view_close()


97ddbd299b Omar Polo

changing the strategy for casts

ok stsp@


17f7cea3a2 Omar Polo

gotd: group the flags for re-exec under -T

ok stsp@


eed4085c0f Stefan Sperling

restore abort() calls in lib/hash.c

In the spirit of commit b808e01085d775b284878dfeea5c06339a9f2ec2, restore the abort() call in got_hash_final_object_id() and add additional ones to cover other functions in this file. ok op@


a08fda08df Mark Jamsek

insert wait instruction in tog log mark keymap test

On slower machines, the test may fail due to capturing the screendump before the base commit marker is drawn. ok op@


7c4b3c1b47 Stefan Sperling

quote the hmac secret in test script


46de6cac87 Stefan Sperling

make hmac failures detectable by regression tests


7c51647ef1 Stefan Sperling

use a proper secret for tests


7b720cf9c9 Stefan Sperling

apply a Perl idion tweak suggested by op@


7ddb9e12dd Stefan Sperling

fix hmac error logging; suggestions by op@



bd84be8a1a Stefan Sperling

add support for HMAC digests to gotd HTTP notifications

Works similar to how several Git forges authenticate their webhooks. Feature requested by dch@freebsd. Help from tb@ regarding which libcrypto calls to use, thanks! ok op@ (with some follow-up tweaks suggested)