Commit Briefs
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@
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@
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@
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@
changing the strategy for casts
ok stsp@
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@
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@
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)