kakwa
026e362bda
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
599e29302f
fix the timstamping script
2016-08-29 08:37:34 +02:00
kakwa
dba24b7adf
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
878117a084
better cleaning in case of an initialization error
2016-08-28 14:23:42 +02:00
kakwa
f7cf646e61
add openssl initialization
2016-08-28 14:16:50 +02:00
kakwa
862cc77c4f
implementing loading of the OIDs
2016-08-27 11:39:53 +02:00
kakwa
89e8b773ef
removing uneeded newline in debug logs of the http queries
2016-08-27 01:35:57 +02:00
kakwa
2fd1aaafd0
adding some entries in gitignore
2016-08-27 01:34:08 +02:00
kakwa
5816f07dc1
better extension for the timestamp script
2016-08-27 01:33:48 +02:00
kakwa
be745d8594
fix create_tsa_certs if not run from its directory
2016-08-27 01:27:15 +02:00
kakwa
594ee4f6fc
fix test configuration
2016-08-27 01:25:37 +02:00
kakwa
48819b9695
fix create_tsa_certs script
2016-08-27 01:06:48 +02:00
kakwa
e6e9faf184
better logging for OpenSSL errors
2016-08-27 01:04:19 +02:00
kakwa
3cb7f920fe
new way to create certs for testing
2016-08-27 01:03:02 +02:00
kakwa
42a427e617
adding log on openssl error
2016-08-27 00:24:22 +02:00
kakwa
c8c71b233a
add logging for the ts conf parsing
2016-08-26 21:00:40 +02:00
kakwa
bf5435510c
use NULL instead of a section (for the conf parser to look for default policy)
2016-08-26 20:59:46 +02:00
kakwa
ec467ba646
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
a2007f36dd
fix default configuration
2016-08-26 19:31:12 +02:00
kakwa
f78c039203
adding a DEBUG option in cmake to compile wth debug flags
2016-08-26 19:28:12 +02:00
kakwa
c8f30485fe
change path to certificats in test conf
2016-08-26 19:14:48 +02:00
kakwa
1754457a5b
adding a test pki
2016-08-26 19:11:17 +02:00
kakwa
92c86f7ea0
change default directories for tsa pki
2016-08-26 19:03:01 +02:00
kakwa
2ed72b9a80
cosmetic change in default configuration file
2016-08-26 08:27:17 +02:00
kakwa
ed74ddb981
adding creation for the ts context
2016-08-26 01:28:34 +02:00
kakwa
6066e93bb2
clean load_config declaration
2016-08-26 01:07:06 +02:00
kakwa
a8038f0c9e
remove unused header
2016-08-26 00:40:32 +02:00
kakwa
b38b256310
adding the setting of the log level
2016-08-26 00:07:19 +02:00
kakwa
45e5248e56
adding possible values for syslog level
2016-08-26 00:06:56 +02:00
kakwa
37dbc3b486
adding civetweb as a submodule
2016-08-25 23:38:04 +02:00
kakwa
cb39220901
remove empty dir
2016-08-25 23:37:16 +02:00
kakwa
2545223c71
remove ini parser as we will use the openssl configuratio parser
2016-08-25 23:34:57 +02:00
kakwa
cfc43274b3
adding comment on configuration options
2016-08-25 23:33:41 +02:00
kakwa
9667d6682c
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
1ac821e3ce
adding default configuration file
2016-08-25 23:03:56 +02:00
kakwa
c5ce562a83
implement the configuration file opening and parsing
2016-08-25 20:14:24 +02:00
kakwa
3acef9333a
cosmetic change
2016-08-24 23:45:02 +02:00
kakwa
57d7c6ebc2
better stdout debugging mode
2016-08-24 23:41:55 +02:00
kakwa
30e06d8db8
add the passing of the configuration file path and debug flag
2016-08-24 23:14:15 +02:00
kakwa
63739e858f
pass context to the logging function
2016-08-24 23:03:49 +02:00
kakwa
355d32c585
adding a context which will be passed from query to query
2016-08-24 22:37:05 +02:00
kakwa
74f07cbd0e
big code reorganization:
...
* split the rfc3161 and the http part
* add a logger function
* add a debugging logger function for the requests
* add a specific handler for rfc3161 request
2016-08-24 22:13:11 +02:00
kakwa
0bbf2a3cf0
fix content type
2016-08-23 20:16:54 +02:00
kakwa
ca00d8c6c6
change ts app code to read query from memory
2016-08-23 20:12:09 +02:00
kakwa
92d6183502
add format script
2016-08-23 19:38:39 +02:00
kakwa
8fc0360824
reformat source code
2016-08-23 19:38:07 +02:00
kakwa
a0d5a683bb
Merge branch 'master' of https://github.com/kakwa/uts-server
2016-08-23 19:29:12 +02:00
kakwa
19c39b1a0f
adding copyright notice
2016-08-22 22:28:06 +02:00
kakwa
768578b8ea
including the glue for timestamping
2016-08-22 22:26:23 +02:00
kakwa
2dc9ce9cb3
adding civetweb in vendor dir
2016-08-19 00:09:18 +02:00