Commits


fix ge^W gemexp version string


gemexp: add -R to generate an RSA (4096) key instead of an EC one (default)


rework gencert(); make gemexp generate EC certs Taking inspiration from acme-client.


gemexp doesn't have -v; remove from getopt and usage()


tweak gemexp logs gemexp is meant for local testing so I'm not too worried about changing its log format if it makes sense to do so.


gemexp: save certs to $XDG_DATA_HOME/gemexp, not /gmid


gemexp: change the naming scheme for the certificates Using what the manpage advertised. The regress adaptations will follow. The directory will also change (and the key type too.)


use the subject' common name as the user field in log


use the condensed logging style in ge too


rename do_accept() -> server_accept()


change log_request to take the code and meta unpacked don't know what i was smoking when I wrote log_request() like that...


call getnameinfo() only once per request


copyright years++


load the certs per listening address


implement `listen on' Listening by default on all the addresses is so bad I don't know why I haven't changed this before. Anyway. Add a `listen on $hostname port $port' syntax to the config file and deprecate the old "port" and "ipv6" global setting. Still try to honour them when no "listen on" directive is used for backward compatibily, but this will go away in the next next version hopefully. At the moment the `listen on' in server context don't filter the host, i.e. one can still reach a host from a address not specified in the corresponding `liste on', this will be added later.