Commits


add a note regarding the usage of the bundled libtls See https://codeberg.org/op/gmid/issues/2


set next version


prepare release 2.0.1


configure: fix --mandir handling


start the 2.1 release cycle


prepare release 2.0


configure: add --sysconfdir / $SYSCONFDIR handling so that we don't have to hardcode /etc in gmid.c. Helps on systems like FreeBSD where the non-base programs are expected to look for their config in /usr/local/etc.


add more endian.h macros implementation for macos


we're in public alpha right now!


don't leave HAVE_GETENTROPY undefined


resurrect landlock support this time targetting ABI level 3; partially based on how claudio@ handled it in rpki-client. Fun how this bit of code has come full circle (gmid inspired what I wrote for got, which inspired what was written for rpki-client, which has come back.)


fix build of regress


fix previous; check for getentropy only when arc4random is missing on macos we have the situation where we have arc4random available but no getentropy().


typo


bundle libtls gmid (like all other daemons that want to do privsep crypto) has a very close relationship with libtls and need to stay in sync with it. OpenBSD' libtls was recently changed to use OpenSSL' EC_KEY_METHOD instead of the older ECDSA_METHOD, on the gmid side we have to do the same otherwise failures happens at runtime. In a similar manner, privsep crypto is silently broken in the current libretls (next version should fix it.) The proper solution would be to complete the signer APIs so that applications don't need to dive into the library' internals, but that's a mid-term goal, for the immediate bundling the 'little' libtls is the lesser evil. The configure script has gained a new (undocumented for the time being) flag `--with-libtls=bundled|system' to control which libtls to use. It defaults to `bundled' except for OpenBSD where it uses the `system' one. Note that OpenBSD versions before 7.3 (inclusive) ought to use --with-libtls=bundled too since they still do ECDSA_METHOD.