utenti online: 3   visite: 246207  
Per quanto possa ricordare, non vi e' una sola parola nei Vangeli in lode dell'intelligenza. (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.