1
0
mirror of https://github.com/kakwa/uts-server synced 2025-04-18 08:27:49 +02:00

Compare commits

..

No commits in common. "master" and "0.2.0" have entirely different histories.

7 changed files with 9 additions and 22 deletions

View File

@ -10,7 +10,7 @@ else ()
set (CMAKE_C_STANDARD 99)
endif ()
set(VERSION 0.2.1)
set(VERSION 0.2.0)
option(DEBUG "compile with debug symbol" OFF)
option(BUNDLE_CIVETWEB "bundle civetweb with uts-server" OFF)

View File

@ -1,11 +1,6 @@
Changelogs
==========
0.2.1
-----
* [fix ] fix compilation for newer GCC (>10.2) (global variable definition issue
0.2.0
-----

View File

@ -23,15 +23,10 @@ Micro `RFC 3161 Time-Stamp <https://www.ietf.org/rfc/rfc3161.txt>`_ server writt
:Doc: `Uts-Server documentation on ReadTheDoc <http://uts-server.readthedocs.org/en/latest/>`_
:Dev: `Uts-Server source code on GitHub <https://github.com/kakwa/uts-server>`_
:License: MIT
:Author: Pierre-Francois Carpentier - copyright © 2019
:Author: Pierre-Francois Carpentier - copyright © 2016
----
Demo
----
A demo is accessible here: https://uts-server.kakwalab.ovh/
License
-------
@ -50,7 +45,7 @@ Roughly, it works as follow:
Then a client can verify the piece of data with the time-stamp using the Certificate Authority of the time-stamp key pair (X509 certificates).
It gives a cryptographic proof of a piece of data content, for example a file, at a given time.
It gives a cryptographic proof of a piece of data content, like a file, at a given time.
Some use cases:
@ -60,7 +55,7 @@ Some use cases:
Quick (and dirty) Testing
-------------------------
Here a few steps to quickly try out uts-server, for production setup, please compile civetweb externally and create proper CA and certificates:
Here a few steps to quickly trying out uts-server, for production setup, please compile civetweb externally and create proper CA and certificates:
.. sourcecode:: bash

View File

@ -18,3 +18,7 @@ int set_params(rfc3161_context *ct, char *conf_file, char *conf_wd);
static char *rand_string(char *str, size_t size);
void free_uts_context(rfc3161_context *ct);
const char *null_undef(const char *in);
// some global variable to handle signals
int g_uts_sig_up;
int g_uts_sig;

View File

@ -9,9 +9,6 @@
#include <time.h>
#include <unistd.h>
extern int g_uts_sig_up;
extern int g_uts_sig;
static char *rand_string(char *str, size_t size) {
const char charset[] = "1234567890ABCDEF";
if (size) {

View File

@ -269,7 +269,7 @@ end:
BN_free(serial_bn);
} else {
serial_hex = calloc(SERIAL_ID_SIZE, sizeof(char));
strncpy(serial_hex, " NO ID ", SERIAL_ID_SIZE + 4);
strncpy(serial_hex, " NO ID ", SERIAL_ID_SIZE + 2);
}
#endif
#ifdef OPENSSL_API_1_0

View File

@ -12,10 +12,6 @@
#include <syslog.h>
#include <unistd.h>
// some global variable to handle signals
int g_uts_sig_up;
int g_uts_sig;
static void signal_handler_general(int sig_num) {
g_uts_sig = sig_num;
}