Difference between revisions of "Category:OWASP OpenSign Server Project"
|Line 20:||Line 20:|
Revision as of 03:09, 25 February 2009
|Project Name||OWASP OpenSign Server Project (Online code signing and integrity verification service for open source community)|
|Short Project Description||The purpose of this project would be to build and host a feature-rich server and suite of client utilities with adequate secure hardware to ensure the integrity of code modules. - The service will allow all .NET and Java code modules to be uploaded to the service to be signed by a community code signing key. Each community (such as OWASP) will have a key and corresponding Software Publishing Certificate (SPC) which can optionally be embedded in the code module itself. Generally, however, the service is intended for developers and the wider community of concerned users that want to ensure that their downloaded portable executable is exactly what it purports to be. The root key will be stored in an HSM and will sign an SPC from a locally generated key-pair of which the public key will be sent to the service. Key pair generation can be made and submitted using standard .NET delay signing and jar signing tools distributed with the SDKs, however, the project remit will ensure that a client-side graphical tool for each environment is available to generate the keys pairs needed to sign code with and allow submission to the code signing service for signing and generation of SPC by the server's proprietary CA. Anonymity will not be allowed so the project will include a database of users which will be the basis of directory for SPCs. There will be a web and web services interface using an online login and WS-Security respectively which will allow the code to be uploaded on demand and signed by a code signing key with the option to embed the certificate or not.|
|Key Project Information||Project Leader
OWASP SoC 08
|Release Status||Main Links||Related Projects|
(if any, add link here)
- 1 User Documentation
- 2 Releases
- 2.1 OpenSign Server
- 2.2 OpenSign Client
- 3 Roadmap
This section describes the installation and usage of the server and client binaries, which can be downloaded above. As all applications are written in pure Java the following instructions are not bound to a specific platform.
- Java runtime 1.6
- Optional: MySql DB
On default nothing besides the unpacking of the binary-packages has to be done for installing server and client application. If one wants to enable specific settings it is recommended to follow the instructions of the readme.txt files, which are located in the root of each directory after unpacking. Note that the server will run in memory on default, which is only good for testing as the data is lost by shutting down the server. However, this behaviour can easily be changed by the use of a MySql DB (please refer to: readme.txt).
Open a console and brows into folder OpenSignServer-1.0. Following command will start the server application:
java -jar jar\OpenSignServer-1.0.jar
The web-based user interface is accessible at: http://localhost:8080/
Following links are accessible:
Home: Initial page
Setting up the X.509 Hierarchy
Version 1.0 (26st of October 08)
- This version is working with the Java client version 1.0
- An "About" button has been added
Version 0.5 (14th of October 08)
- Users must now be enabled to use the certification service by the the issuer above in order to build up chains of trust
- The settins page for issuers got extended for maintaining the subordinate entities
- Several server pages got enhanced in terms of functionality and design
Version 0.4 (28th of August 08)
- Certificate chains are now set up properly. This includes the right values in the certificate as well as appropriate key-handling of the key store. Dummy code got removed broadly.
- This version supports the use of OSSJClient version 0.9 for commands "getcert", "verifycert" and "csr"
Version 0.3 (21st of July 08)
- Easy extendable persistence layer, which is set up using Hibernate – Annotations.
- Possibility to run server in memory, whereas data is lost when the server process is terminated, or to run the server on top of a MYSQL database.
- Logging mechanism got enhanced which involves means to pipe the log information from OpenSign server as well as from Jetty and Hibernate to a log file.
- Same functionality as version 0.2 from a user point of view.
Version 0.2 (14th of July 08)
- Demo-wise set up of an X.509 hierarchy intending to provide code siging certificates. This involves one root issuer, an unlimited number of sub-issuers and end-users.
- End-users may issue a certificate sign request and obtain the certificate in return.
- Demo accounts of to end-users ("user1", "user2") and two issuers ("root", "user3") each with password "123".
- Possibility for registering new end-users and issuers.
- Session handling - login, logout of users
- Storage of issuer key-pair's and all certificates in server side key store.
- Public access of all certificates in the system, with support of binary and PEM format. Eg.: Certificate from root issuer may be retrieved
- - in binary format (default): http://localhost:8080/root?property=cert
- - or PEM formatted: http://localhost:8080/root?property=cert&responseFormat=PEM
- User/resource profile, which is accessible at the resource path without further parameters, eg.: http://localhost:8080/root/user1
Version 0.1 (1st of July 08)
- Access of root certificate via HTTP-GET http://localhost:8080/ca
- Certificate issuing by sending a Certificate Signing Request (PEM-formatted PKCS#10 structure) via HTTP-POST to http://localhost:8080/ca/csr
Version 1.0 (26st of October 08)
- This version has been modified to work with the server version 1.0
Version 0.9 (28th of August 08)
- Commands supported: "getcert", "verifycert" and "csr"
The goal of the Opensign Server (OSS) is to serve as trusted third party in order to prove the integrity and authenticity of binaries. To meet this goal following roadmap will be implemented:
This version is a proof of concept implementation, which shows that processing a Certificate Signing Request (CSR) and issuing a X.509 certificate is working in an efficient way. Furthermore the generation and distributing of the root certificate is also supported.
The server is enhanced by the possibility to support certificate issuing for multiple users. In this case users must be authenticated before generating a certificate.
User management is done through the persistence layer, where Hibernate is the technology of choice. It is now possible to dynamically add users through the web-interface.
The role of the Review is introduced. Users must be associated with a Reviewer before being able to generate a certificate.
The web-interface is enriched with dynamically generated sites which allows the maintenance of the system depending of the user role.
Well tested and documented PKI for code signing which is running online at: www.???.com. This is the goal for Summer of Code 2008!
The second version of the OSS allows the server side code signing. Code modules are uploaded, virus scanned and signed by a corresponding key. No client side key management is required. Furthermore, this service has a downloading area where anybody can download the signed modules.
Command line application, extending Java keytools functionality to make use of the OpenSign infrastructure to sign and verify Jar archives.
This category currently contains no pages or media.