custom php extension

Cancelado Publicado Feb 7, 2007 Pagado a la entrega
Cancelado Pagado a la entrega

There are 4 functions in php 5.x for which we would like to create replacements for performance & security reasons.

<[url removed, login to view]>

<[url removed, login to view]>

<[url removed, login to view]>

<[url removed, login to view]>

These functions are basically wrappers for the corresponding OpenSSL functions and contain very little logic (you can check the implementation as source is available). They directly pass the arguments back and forth to openssl.

Unfortunately all these functions use files for passing the arguments. Currently we unnecessarily create temporary files for these arguments. We would like to eliminate these for performance reasons.

Thus, we would like to create replacement functions for these so that there are no files involved and all data is passed as strings (or any more strict data types are also fine).

Also, rather than replacing these we want new functions to ease development & testing.

## Deliverables

A php extension library & php test cases.

The extension library should contain 4 functions

fastopenssl_pkcs7_verify, fastopenssl_pkcs7_encrypt, fastopenssl_pkcs7_sign, fastopenssl_pkcs7_decrypt

The arguments & return value of these function should match those of the current functions but ALL files should become strings. For example, for the following function

bool openssl_pkcs7_encrypt ( string infile, string outfile, mixed recipcerts, array headers [, int flags [, int cipherid]] )

create

bool fastopenssl_pkcs7_encrypt ( string inmessage, string outmessage, mixed recipcerts_string, array headers [, int flags [, int cipherid]] )

where the all the arguments & return results are directlt passed to openssl so that there is no file read/write is involved.

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Windows (we also would like to get linux and mac versions but these can be done later).

Programación en C Seguridad informática Ingeniería MySQL PHP Arquitectura de software Verificación de software Seguridad web

Nº del proyecto: #2830754

Sobre el proyecto

Proyecto remoto Activo Feb 8, 2007