1
0
mirror of https://github.com/kakwa/uts-server synced 2024-11-14 21:48:54 +01:00
Commit Graph

131 Commits

Author SHA1 Message Date
kakwa
f3a950dc41 source formatting 2016-08-31 07:37:13 +02:00
kakwa
ce19f74858 fix ordering between start log and actual start 2016-08-31 07:36:27 +02:00
kakwa
ee5870509a fix loglevel determination 2016-08-31 07:35:31 +02:00
kakwa
aca650fa6f code cleaning 2016-08-31 00:13:25 +02:00
kakwa
f5d3f66031 first (kind of) working version \o/ 2016-08-31 00:09:17 +02:00
kakwa
00c91df4cf adapt to create_response new API 2016-08-30 23:03:53 +02:00
kakwa
d54c661eef multiple modification on ts response creation
* pass the size of the query to the create_response function
* implement a serial generator based on random numbers
* fix the creation of the bio for the query content
* add logging for the create_reponse

TODO:
* some REAL memory cleaning...
2016-08-30 22:55:25 +02:00
kakwa
4907f03f2f little code cleaning 2016-08-30 22:54:46 +02:00
kakwa
a0d09ebe7b removing the serial file parameter, the serial is now random 2016-08-30 22:51:13 +02:00
kakwa
b41233fd50 some code cleaning 2016-08-29 19:49:39 +02:00
kakwa
62c9b56584 modification in timestamp-file.sh script
* implement a -r switch to force removal of an existing tsr
* implement a way to kind of check is the response looks like a TSR
2016-08-29 19:36:56 +02:00
kakwa
15bb7d9792 fix the timstamping script 2016-08-29 08:37:34 +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
5ab6bc4325 better cleaning in case of an initialization error 2016-08-28 14:23:42 +02:00
kakwa
418f4ba1d3 add openssl initialization 2016-08-28 14:16:50 +02:00
kakwa
f40732e857 implementing loading of the OIDs 2016-08-27 11:39:53 +02:00
kakwa
439b08a014 removing uneeded newline in debug logs of the http queries 2016-08-27 01:35:57 +02:00
kakwa
c625fbd3ca adding some entries in gitignore 2016-08-27 01:34:08 +02:00
kakwa
bf33d5cee0 better extension for the timestamp script 2016-08-27 01:33:48 +02:00
kakwa
734f78469f fix create_tsa_certs if not run from its directory 2016-08-27 01:27:15 +02:00
kakwa
131065afde fix test configuration 2016-08-27 01:25:37 +02:00
kakwa
b3a50883f9 fix create_tsa_certs script 2016-08-27 01:06:48 +02:00
kakwa
2201aefe1f better logging for OpenSSL errors 2016-08-27 01:04:19 +02:00
kakwa
5fd07a352a new way to create certs for testing 2016-08-27 01:03:02 +02:00
kakwa
bacd90bc68 adding log on openssl error 2016-08-27 00:24:22 +02:00
kakwa
6e98e700ca add logging for the ts conf parsing 2016-08-26 21:00:40 +02:00
kakwa
bc20fff44c use NULL instead of a section (for the conf parser to look for default policy) 2016-08-26 20:59:46 +02:00
kakwa
376d100e9f general reorganization
* rename the logger function to uts_logger
* add logging to the create_tsctx fucntion
* fix some warning *
2016-08-26 20:39:45 +02:00
kakwa
c2752532f1 fix default configuration 2016-08-26 19:31:12 +02:00
kakwa
02e493578d adding a DEBUG option in cmake to compile wth debug flags 2016-08-26 19:28:12 +02:00
kakwa
16b29c7639 change path to certificats in test conf 2016-08-26 19:14:48 +02:00
kakwa
61176c5972 adding a test pki 2016-08-26 19:11:17 +02:00
kakwa
560834d280 change default directories for tsa pki 2016-08-26 19:03:01 +02:00
kakwa
7ab15ec374 cosmetic change in default configuration file 2016-08-26 08:27:17 +02:00
kakwa
8ebbc08c88 adding creation for the ts context 2016-08-26 01:28:34 +02:00
kakwa
a420c0dd5c clean load_config declaration 2016-08-26 01:07:06 +02:00
kakwa
0cf267f51e remove unused header 2016-08-26 00:40:32 +02:00
kakwa
ad4dc967c0 adding the setting of the log level 2016-08-26 00:07:19 +02:00
kakwa
d0a9f0f57d adding possible values for syslog level 2016-08-26 00:06:56 +02:00
kakwa
aa5710be21 adding civetweb as a submodule 2016-08-25 23:38:04 +02:00
kakwa
510691ed6c remove empty dir 2016-08-25 23:37:16 +02:00
kakwa
e7a0e0daa0 remove ini parser as we will use the openssl configuratio parser 2016-08-25 23:34:57 +02:00
kakwa
5ca32534f6 adding comment on configuration options 2016-08-25 23:33:41 +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
98d037cd18 adding default configuration file 2016-08-25 23:03:56 +02:00
kakwa
0f762e5ff6 implement the configuration file opening and parsing 2016-08-25 20:14:24 +02:00
kakwa
c1c27e6db3 cosmetic change 2016-08-24 23:45:02 +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