Commit Graph

15 Commits

Author SHA1 Message Date
Pierre-Francois Carpentier dd19915c91 dl for the signer cert + fix example + css tweaks
* add a DL button + serve the signer certificate file (the one used to
timestamp)
* fix the verification instruction (add -untrusted tsa_cert.pem)
* few CSS tweaks to improve page layout
2019-04-12 14:26:21 +02:00
kakwa bd0a32221c creating a nicer landing page + serve the ca file
* nicer landing page with a few instructions, and download link for the
ca, and even some fancy CSS
* add a download link for the CA file
2019-04-12 10:48:55 +02:00
kakwa 1b97399694 better handling for logging to stdout
* disable stdout buffering when logging to stdout
* add 'log_to_syslog' parameter in configuration file to enable/disable
logging to syslog
* add 'log_to_stdout' parameter in configuration file to enable/disable
logging to stdout

slight clean-up and reformatting also (thanks to clang-format new
version)
2019-04-10 22:47:38 +02:00
kakwa ef97018644 code reformat 2016-11-02 18:58:14 +01:00
kakwa 3080d00e45 fix relative path loading for https certificate/key/ca file 2016-09-11 23:55:38 +02:00
kakwa e948177a41 enabling multi-threads support
as TS_RESP_CTX is not thread safe, this commit implement a pool of
TS_RESP_CTX in which a thread can pick one in a thread safe maner.

* implement a ts_resp_ctx_wrapper containing a TS_RESP_CTX and a
  lock and bool to mark the availability of the TS_RESP_CTX
* implement the get_ctxw to recover a given TS_RESP_CTX in a thread safe
   maner
* adapt the rest of the code to accomodate the new way of doing things
* set the default number of threads to 10 as it's now safe to do so
2016-09-08 23:21:53 +02:00
kakwa d49f24c061 a little temporary fix concerning the lack of multithread support 2016-09-05 23:24:41 +02:00
kakwa 236f0cf04c fix some memory leaks on openssl context cleanup 2016-09-05 20:24:47 +02:00
kakwa 75dcc97e12 multiple modications
* add a function to dump binary as hexa in logs
* implemente the TS response generator
* begin to glue it together
2016-08-29 08:34:59 +02:00
kakwa 8ebbc08c88 adding creation for the ts context 2016-08-26 01:28:34 +02:00
kakwa 6ca2e34094 implement configuration parsing + fix
* fix debugging logs to stdout
* add parsing of the different type of parameters
* configure the http server part
2016-08-25 23:04:26 +02:00
kakwa 568b4fbcf2 better stdout debugging mode 2016-08-24 23:41:55 +02:00
kakwa 2619c2a576 add the passing of the configuration file path and debug flag 2016-08-24 23:14:15 +02:00
kakwa eaf1d51b1c pass context to the logging function 2016-08-24 23:03:49 +02:00
kakwa c982c6b405 adding a context which will be passed from query to query 2016-08-24 22:37:05 +02:00