utenti online: 1   visite: 247874  
Il mondo non ha bisogno di dogmi; ha bisogno di libera ricerca. (Bertrand Russell)

PKI Pedersen Commitment

Pedersen Commitment scheme implementation based on X509 custom extensions

This code should be an useful example in using OpenSSL to manipulate X509 certificates and CSRs using custom extensions.
The included tools, commitment_req and commitment_chk, implement the Pedersen commitment scheme in this way:

The entire process, including the CA setup, can be tested with the included bash script testing.sh.
You obviously need OpenSSL libs and openssl utility installed on your system to compile the sources and run the script.
Refer to the source code or try the tools to have some usage info.